Intercept incoming calls (not answering state) in iOS

醉酒当歌 提交于 2019-12-12 04:39:45

问题


I'm trying to find out how can I intercept when a phone call received and no one answer and then it goes to voice mail. I looked into CTCall and CTCallCenter but I'm not sure whether they are not answer for my problems or it's not allowed for apps to AppStore. Ideas/thoughts anyone?


回答1:


Correct me if I am wrong but there is NO public API by Apple to intercept the call of the Phone application without jailbreak! And it wont be able to see App store if you are going to use Private methods

If your application is active when a call event takes place, the system dispatches the event to your handler immediately. However, call events can also take place while your application is suspended. While it is suspended, your application does not receive call events.



来源:https://stackoverflow.com/questions/21375800/intercept-incoming-calls-not-answering-state-in-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!