Pantsland

How to Make a Full-Screen iPhone Web App

There has been a fair amount of talk lately about a feature introduced in iPhone firmware 2.0 and above that allows a developer to make a web application, once saved to a user’s iPhone home screen, run in a full-screen mode without the Safari toolbars. AppleInsider wrote about it, with a fantastic demo available on the website of the WebApp.net framework.

While there has been a lot of talk about the result of this technique, I haven’t seen anywhere that describes exactly how to make your application run full-screen (sans buried deep in the Apple Developer Connection documentation). It’s actually incredibly simple, just add the following code into the <head> of your site:

  1. <meta name="apple-mobile-web-app-capable" content="yes" />

Once you’ve done this, when someone saves your application to their home screen it will subsequently start without the Safari chrome. Make sure that if you do this your application has adequate navigation and plenty of feedback during loading, as users won’t be able to use the Safari back/forward buttons nor see the standard loading bar.

One Response

  1. neat - thanks for sharing

Leave a Reply

Twitter

  • Mmm, having my first tea at the new office. Finally got around to bringing all my tea stuff from the old office. 4:39pm
  • @MikeRapin But when I update the original doc in iWork, I have to re-share it as a new doc, I can't push it up as a replacement to the last. 2:50pm
  • Seriously, is there no way to update an iWork doc you've already shared on iWork.com? You have to make a new doc? 2:25pm
  • @thingles You can buy iWork 09 now, iLife 09 comes late January 12:22pm
  • And the inline comments on sections of the document are even more useful 11:15am
  • iWork.com is cool, would be nice to edit online too, but being able to download in multiple formats is very useful. 11:13am