0

I'm building an iPhone webapp using HTML5. To help the webapp resemble a native app, users need to add it to their homescreen. But for this to work, they have to be on Safari. Other mobile browsers, such as Chrome, cannot add bookmarks to the homescreen.

If a user accesses my webapp using the Chrome browser, how can I redirect him/her to Safari?

lostsource
  • 21,070
  • 8
  • 66
  • 88
Tomi Seus
  • 1,131
  • 2
  • 13
  • 28

1 Answers1

0

There isn't any official documentation that states how to send URL request from native app to mobileSafari as of iOS 6.1, but there a few hacks you could use for example JavaScript callbacks. it not 100% prefect and take a bit of effect from the client side. follow this guide here.

Shams Ahmed
  • 4,498
  • 4
  • 21
  • 27