如何从iPhone上的来电中获取来电者的电话号码 [英] How can I get the callers phone number from an incoming call on iphone
本文介绍了如何从iPhone上的来电中获取来电者的电话号码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想构建一个应用程序,该应用程序在打进来电话时会执行某些操作.但是我认为电话需要在iphone上越狱才能访问执行该操作的类.我想在电话不越狱的情况下做到这一点.
Hi I want to build an app that does something when an incoming call comes in. But I think that the phone needs to be jailbroken on the iphone to access the class that does that. I want to do it without the phone being jailbroken.
推荐答案
不可能.
However you may get the information like call state(connected/disconnected etc) using CoreTelephony framework.
这篇关于如何从iPhone上的来电中获取来电者的电话号码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文