Created
February 15, 2013 22:00
-
-
Save inailuy/4963900 to your computer and use it in GitHub Desktop.
Make a call from your iOS app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSString *phoneNumber = [NSString stringWithFormat:@"tel:%@",phoneNumber]; | |
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:phoneNumber]]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment