Receiving phone calls in Swift iOS -


is there way receive phone calls app , decline sending sms progmatically? or receive calls , switch on autospeaker?

pseudo code of want like:

    if (someone calling) {        if (someone = father) {            autoreply("dad, i'm on meeting. call in 1 hour")        }     } 

there lot of information how phone call, less receiving it. response appreciated!

sorry perhaps silly question :) i'm newbie in ios swift development.

unless working on jailbroken app, this not possible in way.
have understand ios development limited apple's restrictions , guidelines. apps sandboxed , can't affect system's behavior in way (excepted through ios public api's, , none of them offers hook phone call events).


Comments

Popular posts from this blog

javascript - How to process users in one specific order using map o each function? -

java - Two interface have same method name with different return type -

javascript - Linking from page A to a specific iframe on page B -