如何通过应用程序拦截和解析来电 [英] How to intercept and parse incoming calls via an app

查看:519
本文介绍了如何通过应用程序拦截和解析来电的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Truecaller如何拦截iPhone上的传入电话以显示呼叫者ID?

How does Truecaller intercept incoming phonecalls on the iphone to display caller ID?

我认为在应用程序内部无法实现吗?

I didn't think this was possible from within the app?

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

Specifically, if I wanted to build this functionality, what protocols would I go about using?

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)

这篇关于如何通过应用程序拦截和解析来电的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆