问题描述
我们希望构建一个用户可以在接听电话时与之交互的应用程序。该想法是用户可以使用iPhone的电话应用程序进行语音通信,同时使用我们的应用程序来键入和发送与呼叫相关的附加数据,例如电子邮件地址。这是场景:
We want to build an application that the user can interact with while taking a phone call. The idea is that the user can do voice communication using the phone application of the iPhone and at the same time use our application to type and send additional data that is relevant to the call such as an e-mail address. This is the scenario:
- 用户在iPhone上拨打电话
- 用户点击按钮在我们的应用程序上接听电话,让iPhone上的手机应用程序在后台处理电话。
- 我们的应用程序继续在前台运行,以便用户可以与我们的应用程序输入和发送与呼叫相关的电子邮件地址等数据。
我们的申请是否有办法当我们的应用程序继续在前台运行时,接听来电并让iPhone的电话应用程序在后台处理呼叫?
Is there a way for our application to answer an incoming phone call and let the phone application of the iPhone handle the call in the background while our application continues to run in the foreground?
谢谢,
Prasanna
Thanks,Prasanna
推荐答案
目前,iOS SDK不支持将来电从系统重定向到自定义应用程序。只支持发起呼叫。
Currently, the iOS SDK does not support redirecting incoming calls from the system to a custom application. There is only support for initiating a call.
这篇关于构建应用程序以接听电话并委托iPhone的电话应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!