Programmatically answer an incoming phone call on iPhone

喜欢而已 提交于 2019-12-06 09:27:35

问题


How can we answer an incoming voice call programmatically using Objective-C on an iPhone?


回答1:


You can't. You don't even got a notification or whatever that there's an incoming call. All you can do is ask the iPhone to make a call (via the tel: URI scheme) but you won't even know whether the phone actually did dial the number.

That is on purpose for privacy/anti-malware reasons, BTW.



来源:https://stackoverflow.com/questions/5219526/programmatically-answer-an-incoming-phone-call-on-iphone

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