简体   繁体   English

在iPhone应用程序中接到来电时如何识别?

[英]How to identify while getting incoming call in iPhone app?

I am editing some thing in an iPhone editor application. 我正在iPhone编辑器应用程序中编辑某些内容。 That time, I am getting a call. 那个时候,我接到电话。 How can I identify an incoming call by coding ? 如何通过编码识别来电?

If any one having idea about this, just share with us. 如果有人对此有任何想法,请与我们分享。

You can't. 你不能 This is actually a FAQ already :-) All you can do is implement the applicationWillResignActive method in your application delegate (or listen to the corresponding notification). 这实际上已经是一个常见问题解答了:-)您所要做的就是在您的应用程序委托中实现applicationWillResignActive方法(或侦听相应的通知)。 However, you also get this event when some alerts are shown or when the screen gets locked and you can't distinguish why you are getting the event. 但是,当显示某些警报或屏幕被锁定并且无法区分为什么收到事件时,也会发生此事件。

Take a look at following URL 看看下面的URL
Could be helpful for you Core Telephony 能对你有所帮助核心电话

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM