Question

I want to make call to any number as soon as viewdidload is called ?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top