简体   繁体   English

识别来电-iOS

[英]Identifying incoming calls - iOS

I would like to create an app that uses incoming call as a trigger. 我想创建一个使用来电作为触发器的应用程序。 Meaning that once there's an incoming call (user has not asnwered it yet), the app will be notified. 这意味着一旦有来电(用户尚未确认),该应用就会收到通知。 I have found this . 我发现了这个

Will it solve the issue or is there other solution? 它会解决问题还是有其他解决方案? I hope it's obvious but the the question is for NON-jailbroken phones. 我希望这很明显,但问题是非越狱的手机。

Is it possible to get caller ID in such scenario? 在这种情况下能否获得呼叫者ID?

Is there a way to identify text or iMessage once they have been received in the phone? 在手机中收到文本或iMessage后,是否有办法识别它们?

CTCall is your only option. CTCall是您唯一的选择。 It will generally allow your app to receive a notification if it's in the foreground , but it won't give you details about the caller identity, just the call state. 如果它在前台 ,通常会允许您的应用程序接收通知,但不会提供有关呼叫者身份的详细信息,而仅提供呼叫状态。

It isn't possible to get information on SMS /iMessages. 无法获得有关SMS / iMessages的信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM