![]() ![]() You might also omit some information: NSString *subject = subject" įor more complex body texts, you might want to use the CFURLCreateStringByAddingPercentEscapes() function, as explained above in this page. You can also provide more information, for a customized subject and body texts: NSString *subject = subject" These URLs launch Mail and open the compose message controller: NSString *stringURL = *url = The same restrictions apply as for phone URLs, regarding spaces, brackets and dashes. You can specify a phone number, but apparently not a default text for your message: NSString *stringURL = *url = To open the SMS application, just use the sms: protocol in your URL: NSString *stringURL = *url = The phone links start with “tel:” but must not contain spaces or brackets (it can contain dashes and “+” signs, though): NSMutableString *phone = 12 34 567 89 01" mutableCopy] autorelease] ![]() It seems that maps:// also opens up the Maps application. URLs starting with open up the “Maps” application automatically: NSString *title = latitude = 35.4634 Īny URL starting with which does not point to or is sent to Safari: NSString *stringURL = *url = Similarly, if you want to remove the URL encoding from a string, for example in the application:handleOpenURL: UIApplicationDelegate method, use this code: - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)urlĬFStringRef clean = CFURLCreateStringByReplacingPercentEscapes(kCFAllocatorDefault, There can be some problems with NSString’s stringByAddingPercentEscapesUsingEncoding: method since it does not encode some reserved characters for URLs you might prefer to use this code instead: CFStringRef encoded = Core Foundation CFURLCreateStringByAddingPercentEscapes() function provides more options and is more suitable for complex texts. Please check this page in iPhone Developer Tips. Thanks for sharing your URL scheme to the community! Sorry for the hassle but thanks to users without respect I have no other choice. If you want your application to appear here, please contact akosma software with the information you want to post here. Due to the large amounts of spam and advertising in this page, I’ve decided to block this page for editing. 4.50 Swiss Phone Book by local.ch (from version 1.5).4.46 Twitterriffic / Twitterriffic Premium.4.26 Loan Plan – Amortization Calculator.DVDpedia FrontRow and AppleTV plugin 2.0.6 with AppleTV 3.0.1 support. ![]() DVDpedia is a movie cataloging application that retrieves all information about your movies from the Internet via keyword or UPC scan, so you have time for more important things like watching movies. DVDpedia is a movie cataloging application for Mac OS X. Download DVDpedia for macOS 10.12.0 or later and enjoy it on your Mac.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |