View Full Version : Recognizing when app is stored on home screen? - iPhone

28 Jul 2010, 5:36 AM
Hi folks,

is there a way my app can recognize when it is opening up from iPhone's home screen?

The space within Safari is A LOT smaller than the space available within a Home Screen app. So I would like to thin an app down, when opened in Safari.

Hope someone can help =) :)

28 Jul 2010, 6:42 AM

Look at: http://www.sencha.com/forum/showthread.php?105128-How-to-determine-app-was-lauched-from-Home-screen-icon-or-the-browser

28 Jul 2010, 3:39 PM
From http://developer.apple.com:

You can determine whether a webpage is displayed in full-screen mode using the window.navigator.standalone read-only Boolean JavaScript property.