Launch iPhone app from link in email

我的未来我决定 提交于 2019-12-04 04:14:38

If you want the link to be clickable in Mail you have to use an http:// link which will launch Safari. This means you should create a page on a webserver somewhere that return an HTTP 303 redirect (See Other) with your myApp:// url. This should cause Safari to launch your application. If that fails you can try a <meta> redirect, and as a last resort a standard <a href="myApp://">Click me</a> link.

To do that you would have to register and host that domain and set it up to redirect to the URL scheme. How to set up the redirect depends on what web server you're running. Why do you think myapp:// is impractical?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!