Truecaller如何拦截iphone上的传入电话来显示来电显示?如何拦截和解析来电通过应用程序
我不认为这是可能的应用程序内?
具体来说,如果我想构建这个功能,我会使用哪些协议?
http://www.truecaller.com/how-it-works
Truecaller如何拦截iphone上的传入电话来显示来电显示?如何拦截和解析来电通过应用程序
我不认为这是可能的应用程序内?
具体来说,如果我想构建这个功能,我会使用哪些协议?
http://www.truecaller.com/how-it-works
真正的来电没有做iOS上,因为它不与原生SDK的支持。查看他们的常见问题解答:
http://www.truecaller.com/support,具体为“我为什么不收到真人来电显示?” “iPhone/Windows Phone”下的部分。如果你必须,尝试寻找越狱设备的解决方案。
“拦截”呼叫是不可能的。当iPhone接到电话时,可以处理“后台事件呼叫”。也就是说,Truecaller不会拦截呼叫。更多信息可以在他们的网站上找到。
On an iPhone, without jailbreaking it:
- you cannot intercept a call in any way
- you cannot determine the phone number nor the caller ID identifying information regarding the call. Even if you could there
is no way to alter what is displayed on the call screen
- you cannot block the call
- your program can get a notification when a call is being made/terminated etc. But only if your app is executing in the
foreground at the time of the call or if the app is in the
background and has a relevant background mode (even then you can
only know there is a call in some circumstance, depending upon what
you're doing in the background and what state your in etc. Its too complex to describe the exact situation here briefly)
请参阅链接http://stackoverflow.com/questions/40837561/how-to-use-call-directory-extension-to-identify-a-incoming-call-in-my-applicatio –