Open phone app without calling

冷暖自知 提交于 2019-12-14 02:28:24

问题


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 ?


回答1:


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"]];


来源:https://stackoverflow.com/questions/6584258/open-phone-app-without-calling

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!