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?
In Settings, scroll down through the sidebar and tap “Safari.” In Safari settings, swipe upward until you locate the “Tabs” section. Tap the switch beside “Show Tab Bar” to turn it off.
Open the Settings app. Scroll down and tap Safari. Scroll down to the Tabs section and locate the option to switch between the Tab Bar and a Single Tab. Select Single Tab to move the Address Bar back to the top of the screen, or select Tab Bar to move it back to the bottom if you change your mind later on.
It seems only be possible with the workaround you mentioned:
<meta name="apple-mobile-web-app-capable" content="yes" />
Ref #1 Ref #2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With