可以用当前的iPhone SDK来连接电话功能吗?

发布于 2024-08-06 10:26:27 字数 137 浏览 1 评论 0原文

我在其他地方听说过,无法使用当前的 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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

独守阴晴ぅ圆缺 2024-08-13 10:26:27

不可以。当用户接到电话时,您的应用程序将被中断,并且您的代码将不允许在用户通话时运行。此外,iPhone 不允许使用后台应用程序。你能得到的最好的就是推送通知,但你不能创建守护进程或类似的东西。

此信息在 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.

This information is provided in the iPhone Application Programming Guide

南城追梦 2024-08-13 10:26:27

在版本 4 中,您现在可以在某种程度上进行多任务处理。

With version 4 you can now multitask to some degree.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文