Breaking News
Home / iOS / iOS FAQ / Can you Programatically Dial a Phone Number through the iPhone?

Can you Programatically Dial a Phone Number through the iPhone?

Answer

You cannot programatically dial an number using the iOS SDK.

However, if you use the tel link to invoke the iPhone Phone application to dial out a number.

Example :

To dial 288-222-8717

pass the following string to the iphone phone app as

tel:2882228717

 NSString *phoneUrl = [NSString stringWithFormat:@”tel://2882228717″];
            [[UIApplication sharedApplication] openURL:[NSURL URLWithString:phoneUrl]];

[pb_builder]

Check Also

How to remove an app from Sale in Appstore?

Solution In order to remove you app from SALE, you would have to log into …

Advertisment ad adsense adlogger