Call to a number, which contain #. (IPhone SDK)
iOS SDK (Apple URL scheme reference) tells:
To prevent users from maliciously redirecting phone calls or changing the behavior of a phone or account, the Phone application supports most, but not all, of the special characters in the tel scheme. Specifically, if a URL contains the * or # characters, the Phone application does not attempt to dial the corresponding phone number.
So, no luck.
Making calls on iPhone/iPod/iPad
Every iOS 8 device has the FaceTime App which now provides the power to call anyone your iPhone can call.
It's called continuity
The user has to allow this on his iPhone in Settings.app under "FaceTime" -> "iPhone Cellular Calls"
How to make a call programmatically?
Keep the phone number in a separate string.
NSString *phoneNumber = @"1-800-555-1212"; // dynamically assigned
NSString *phoneURLString = [NSString stringWithFormat:@"tel:%@", phoneNumber];
NSURL *phoneURL = [NSURL URLWithString:phoneURLString];
[[UIApplication sharedApplication] openURL:phoneURL];
Related Topics
iOS Present Modal View Controller on Startup Without Flash
App Transport Security Xcode 7 Beta 6
Problems with Ssl Pinning and Afnetworking 2.5.0 (Nsurlerrordomain Error -1012.)
Xcode Info.Plist Build Variable ${Product_Name:Rfc1034Identifier} Seems Completely Undocumented
How to Set the Position of the Cursor in Uitextview
Xcode & Swift - Detecting User Touch of Uiview Inside of Uiscrollview
How to Obtain Country, State, City from Reversegeocodecoordinate
Prevent Duplicate Symbols When Building Static Library with Cocoapods
Download Xcode 4.2 Documentation for Offline Install
Warp \ Bend Effect on a Uiview
Detect If a Point Is Inside a Mkpolygon Overlay
Linker Error in Xcode 5 for Libzbar.A
How to Compare Two Strings Ignoring Case in Swift Language
Setting Alpha on Uiview Sets the Alpha on Its Subviews Which Should Not Happen
How to Detect Tableview Cell Touched or Clicked in Swift
How to Enable Swipe to Delete Cell in a Tableview
Linker Errors When Trying to Install New Google Analytics 3.0 Beta