SDK插入电话通话功能吗

SDK插入电话通话功能吗

本文介绍了可以使用当前的iPhone SDK插入电话通话功能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在其他地方听说过它,使用当前的SDK无法以编程方式挂接到iPhone的电话区域.我希望学习iPhone开发和Obj C,最终目标是创建一个在后台运行的通话计时器应用程序,并在通话时间过长时向用户发出警报.

I've heard it mentioned elsewhere, one cannot programmatically hook into the phone call area of an iPhone using the current SDK. I'm looking to learn iPhone development and Obj C, with the end goal of creating a call timer app that runs in the background and alerts the user when a call has gone on too long.

是否有可能喜欢这种方法?

Is it even possible to hook into methods liek that?

推荐答案

否.当用户接听电话时,您的应用将被中断,并且当用户在通话中时,您的代码将无法运行.此外,iPhone不允许使用后台应用程序.最好的方法是推送通知,但是您不能创建守护程序或类似的东西.

No. Your app will be interrupted when the user receives a call, and your code will not be allowed to run while the user is on the call. Additionally, there are no background apps allowed for the iphone. The best you can get is push notification, but you can't create a daemon or anything like that.

iPhone应用程序编程指南

这篇关于可以使用当前的iPhone SDK插入电话通话功能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 02:20