如何通过应用程序拦截和解析来电

时间:2014-02-12 19:19:34

标签: ios iphone phone-call

Truecaller如何拦截iphone上的来电显示来电显示?

我认为这不可能来自app?

具体来说,如果我想构建此功能,我将使用哪些协议?

http://www.truecaller.com/how-it-works

3 个答案:

答案 0 :(得分:3)

 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)

答案 1 :(得分:2)

True Caller在iOS上不这样做,因为本机SDK不支持它。请参阅他们的常见问题:

http://www.truecaller.com/support,特别是“为什么我不接收实时来电显示?” “iPhone / Windows Phone”下的部分。如果必须,请尝试寻找越狱设备的解决方案。

答案 2 :(得分:0)

无法“拦截”来电。当iPhone接到电话时,可以处理“后台事件呼叫”。也就是说,Truecaller不拦截电话。更多信息可以在他们的网站上找到。