开发者

I want to make call in viewdidLoad

开发者 https://www.devze.com 2023-02-06 21:45 出处:网络
I want to make call to anynumber as so开发者_Python百科on as viewdidload is called ?This might help you: http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Articles/Pho

I want to make call to any number as so开发者_Python百科on as viewdidload is called ?


This might help you: http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Articles/PhoneLinks.html

Basically, they say that you can place a call using a URL object, like so:

[[UIApplication sharedApplication] openURL:
[NSURL URLWithString:@"tel:1-408-555-5555"]];

Unfortunately, that's about as much control as you get at the moment. Happy coding.

0

精彩评论

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