Launch iPhone app from email

I am trying to use URL schemes in the iPhone SDK and I have an application to run using a custom URL scheme, for example, "myap: // Dosomething", but this is not very practical for what I want. Is there any way to register a scheme that would allow links to emails like " http://www.mydomain.com/ " to launch my application, for example, links to the application store and youtube links?

+7
url objective-c iphone url-scheme
source share
2 answers

If you want the link to be clickable in Mail, you need to use the http:// link that will launch Safari. This means that you must create a page on a web server somewhere that returns an HTTP 303 redirect (see the "Miscellaneous" section) with your myApp:// URL. This should lead to the launch of the Safari application. If this fails, you can try redirecting <meta> and, in extreme cases, the standard <a href="myApp://">Click me</a> link.

+7
source share

To do this, you will need to register and host this domain and configure it to redirect to the URL scheme. How to set up redirection depends on which web server you are using. Why do you think myapp: // is impractical?

0
source share

All Articles