When I go to Trello on my iPhone and bookmark it to my home screen then go into the link from the home screen, it doesn't open the link in Safari, but in a new app. How is that done?
<meta name="apple-mobile-web-app-capable" content="yes" />
在您的<head>
块中。
On iOS it's called a Web Clip. Have a look at this documentation: http://developer.apple.com/library/IOs/#documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html
And here's a JavaScript library that will do a nice little "add to home screen" popover: http://cubiq.org/add-to-home-screen
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.