我已阅读有关 CoreTelephony 类和这个 CTClass 可以检查调用者并找到调用状态....
I have read about the CoreTelephony class and in this CTClass can check caller and find state of call....
但是何时以及如何使用这个......
But when and how to use this......
我认为我的应用程序在通话开始时进入后台..
请帮助或纠正我......
I think my application goes to background when call start..
help please or correct me......
官方SDK无法实现.您可以做的最好的事情是确定用户是否正在通话.您可以通过检查状态栏框架的大小来做到这一点.
It is not possible with the official SDK. The best that you can do is determine if the user is on a call. You can do this by inspecting the size of the status bar frame.
[UIApplication sharedApplication].statusBarFrame
这篇关于检查iphone中的来电的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!