3

I know you can hide the address bar on iPhone/iPad/Android using the window.scrollTo thing. However, nothing seems to get rid of the address bar on iPad. The only workaround I found was to add a meta tag and then let the user add the page to their home screen.

Am I missing something? Can you hide the address bar on iPad safari using some other trickery?

David Hellsing
  • 106,495
  • 44
  • 176
  • 212
  • Reference to [window.scrollTo()](http://stackoverflow.com/questions/4117377/how-to-hide-the-address-bar-on-iphone) code. – epascarello Sep 16 '11 at 19:56
  • If you don't mind me asking, why would you want to do this? To me, it feels like an extremely horrible idea to muck around with the user experience of the users browser, and hiding the address bar themselves isn't very hard, is it? – Andreas Eriksson Jan 03 '13 at 13:50

1 Answers1

4

It seems only be possible with the workaround you mentioned:

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

Ref #1 Ref #2

Community
  • 1
  • 1
Lenar Hoyt
  • 5,971
  • 6
  • 49
  • 59