开发者

I want to make call in viewdidLoad

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜