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 –