Safari Reference Library Apple Developer
Search

Introduction

Note: This document was previously titled iPhone URL Scheme Reference.

This document describes several URL schemes that are supported by system applications on iOS and Mac OS X. Native iOS applications and web applications running in Safari on any platform can use these schemes to integrate with system applications and provide a more seamless experience for the user. For example, if your iOS application displays telephone numbers, you could use an appropriate URL to launch the Phone application whenever someone taps one of those numbers. Similarly, clicking an iTunes link, launches the iTunes application and plays the song specified in the link. What happens when a user clicks a link depends on the platform and the installed system applications.

This document describes those schemes that require special attributes or special formatting in order to be understood by the associated system application. As a result, this document does not describe all URL schemes supported on different Apple platforms.

You should read this document if you want to launch a system application from your iOS application or from your web application running in Safari. This document contains both Cocoa Touch sample code—using the openURL: method of the shared UIApplication object to open URLs—and HTML samples. For more information on how to use the openURL: method, see UIApplication Class Reference.

Organization of This Document

Each article in this document describes the format of a particular type of URL:




Last updated: 2009-06-17

Did this document help you? Yes It's good, but... Not helpful...