简体   繁体   English

在iPhone SDK中在后台拨打电话

[英]Dial phone in background in iPhone SDK

I am developing a project where i want to implement dial functionality from within app. 我正在开发一个项目,希望在应用程序内实现拨号功能。

The problem is it takes the control to Phone app of iPhone and my app goes in background. 问题是它将控制权交给iPhone的Phone应用程序,而我的应用程序在后台运行。 I want the Phone app in background rather my app. 我要在后台使用“电话”应用程序而不是我的应用程序。

So how can we send the dialing app in background and my app being steady and viewable. 因此,我们如何在后台发送正在拨号的应用程序,并且使我的应用程序稳定且可见。

This is not possible on iOS. 这在iOS上是不可能的。 Sorry. 抱歉。

However this is not possible in iOS. 但是,这在iOS中是不可能的。 You can try this. 你可以试试看

Create and Local Notification when call app starts. 呼叫应用启动时创建和本地通知。 Then a notification will be fired and user will be prompted to get the app to the foreground, and done so. 然后,将触发通知,并提示用户将应用程序置于前台,然后执行此操作。 The phone app goes to backgroud. 电话应用程序将变为背景。

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

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