The simplest way seems to be:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"telprompt:0123456789"]];
You will get a prompt and your app will regain focus after the call is finished.
More Related Contents:
- HTML Content fit in UIWebview without zooming out
- UIWebView – How to identify the “last” webViewDidFinishLoad message?
- how to increase font size in UIWebView
- Opening popup links in UIWebView, possible?
- iPhone SDK – Add a “Add to Home Screen” button in a UIWebView
- Programmatically Request Access to Contacts
- Objective-C categories in static library
- iOS SDK – Programmatically generate a PDF file
- Storyboard – refer to ViewController in AppDelegate
- What are best practices that you use when writing Objective-C and Cocoa? [closed]
- How to retrieve user’s current city name?
- CAGradientLayer, not resizing nicely, tearing on rotation
- When does an associated object get released?
- How to define a global variable that can be accessed anywhere in my application? [duplicate]
- writing NSDictionary to plist in my app bundle
- Memory Management in Objective-C [duplicate]
- How get a datetime column in SQLite with Objective C
- What is objc_setAssociatedObject() and in what cases should it be used?
- Objective-C – Detect when user change the app’s notifications settings
- How do I auto size a UIScrollView to fit its content
- How to distribute ios application wirelessly without managing UDIDs and recompilation
- Adding files to separate targets in Xcode 4
- How can I determine the default gateway on iPhone?
- Issue With Code: Format string is not a string literal [duplicate]
- How to create a round button?
- Making a UIImage to a circle form
- UITableViewCell Accessory Type Checked on Tap & Set other unchecked
- Prevent scrolling in a MKMapView, also when zooming
- Making a call programmatically from iPhone app and returning back to the app after ending the call
- How to send add friend request (to facebook user) from iOS application?