打开手机应用程序,无需调用 [英] Open phone app without calling
本文介绍了打开手机应用程序,无需调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要的是打开手机应用程序,但没有调用。只是打开手机应用程序,并让号码出现,但给用户选择按拨号。这是可能吗?
What i need is to open the phone app but without calling . Just to open the phone app and to have the number appear but give the user the option to press dial . Is this possible ?
回复,
Flaviu
Regards , Flaviu
推荐答案
你不能这样做,但你可以让设备弹出一个对话框,其中有一个呼叫按钮,将开始一个电话:
You can't do that, but you can make the device pop up a dialog with a Call button which will start a phone call:
[[UIApplication sharedApplication] openURL:
[NSURL URLWithString:@"tel://1-800-555-5555"]];
这篇关于打开手机应用程序,无需调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文