如何拦截和parsing来电通过一个应用程序
Truecaller如何拦截iPhone上传入的电话来显示来电显示?
我不认为这是可能的应用程序内?
具体来说,如果我想build立这个function,我会使用什么协议?
http://www.truecaller.com/how-it-works
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)
真正的调用者不会在iOS上这样做,因为原生SDK不支持。 查看他们的FAQ:
http://www.truecaller.com/support ,特别是“为什么我不收到真人来电显示?” “iPhone / Windows Phone”下的部分。 如果你一定要尝试寻找越狱设备的解决scheme。
“拦截”呼叫是不可能的。 当iPhone接到电话时,可以处理“后台事件呼叫”。 这就是说,Truecaller不会拦截呼叫。 更多信息可以在他们的网站上find。