iPhone app 来电时如何识别?
我正在 iPhone 编辑器应用程序中编辑一些内容。那个时候,我接到电话。如何通过编码识别来电?
如果有人对此有想法,请与我们分享。
I am editing some thing in an iPhone editor application. 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你不能。这实际上已经是一个常见问题解答了:-) 您所能做的就是在应用程序委托中实现
applicationWillResignActive
方法(或监听相应的通知)。但是,当显示某些警报或屏幕被锁定时,您也会收到此事件,并且您无法区分收到该事件的原因。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). 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
Could be helpful for you
Core Telephony