Search code examples
iosmobile-safariweb-clips

How can I load iOS webclip links in the same window?


After loading up a Webclip with some links in it, clicking a link launches Mobile Safari instead of loading the link in the same window. Is there a way to prevent the link loading in Safari instead of the Webclip instance? I'm trying to mock up a mobile app just using PHP on my local Apache installation.


Solution

  • According to the Apple docs it looks like external page links will always open in Mobile Safari:

    In this mode any external links will be opened in Safari on iPhone, meaning that you will have to keep your web application to a single page and use Ajax to update parts of that page.