开发者

Open phone app without calling

开发者 https://www.devze.com 2023-03-17 04:51 出处:网络
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 ?You

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 ?


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

精彩评论

暂无评论...
验证码 换一张
取 消