# Viewport (removing safari for web app)

**URL:** <https://forum.bubble.io/t/viewport-removing-safari-for-web-app/54809>\
**Category:** Bugs\
**Created:** [April 18, 2019, 3:06pm UTC](https://forum.bubble.io/t/viewport-removing-safari-for-web-app/54809 "2019-04-18T15:06:27Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![pauljamess](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/pauljamess/32/261876_2.png) [@pauljamess](https://forum.bubble.io/u/pauljamess)\
**Post date:** [April 18, 2019, 3:06pm UTC](https://forum.bubble.io/t/viewport-removing-safari-for-web-app/54809/1 "2019-04-18T15:06:27Z")

</div>

Hey,

i’m building an app designed to be saved as a homescreen icon and launched as a webapp. Bubble is awesome for building in things like removing Safari with a simple check box which i’ve done, but I get this gap at the top above content where the time etc is.

Anyway to start content RIGHT at the top?

 ![IMG_7082](https://us1.discourse-cdn.com/bubble/original/3X/d/8/d83846f459ea4708bf1f15ae371120e00eee50bb.jpeg)

---

<div class="post-metadata">

**Author:** ![pauljamess](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/pauljamess/32/261876_2.png) [@pauljamess](https://forum.bubble.io/u/pauljamess)\
**Post date:** [April 18, 2019, 3:12pm UTC](https://forum.bubble.io/t/viewport-removing-safari-for-web-app/54809/2 "2019-04-18T15:12:38Z")

</div>

Even black status bar would be better but:

meta name=“apple-mobile-web-app-status-bar-style” content=“black”

Doesn’t seem to do anything ☹

---

<div class="post-metadata">

**Author:** ![pork1977gm](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/pork1977gm/32/245627_2.png) [@pork1977gm](https://forum.bubble.io/u/pork1977gm)\
**Post date:** [April 18, 2019, 3:15pm UTC](https://forum.bubble.io/t/viewport-removing-safari-for-web-app/54809/3 "2019-04-18T15:15:02Z")

</div>

> [@iOS 11 Webview Viewport leaves 20 pixel white strip at top of page](http://forum.bubble.io/t/ios-11-webview-viewport-leaves-20-pixel-white-strip-at-top-of-page/18294/14):
>
> You can kind of see how it looks, the battery bar sits over the rest of the page

Try that if you’ve not seen it already.

---

<div class="post-metadata">

**Author:** ![simon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/simon/32/8895_2.png) [@simon](https://forum.bubble.io/u/simon)\
**Post date:** [April 18, 2019, 3:17pm UTC](https://forum.bubble.io/t/viewport-removing-safari-for-web-app/54809/4 "2019-04-18T15:17:20Z")

</div>

Try this in Settings - SEO/Metatags - script tags in the header

\<meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"

Simon

---

<div class="post-metadata">

**Author:** ![pauljamess](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/pauljamess/32/261876_2.png) [@pauljamess](https://forum.bubble.io/u/pauljamess)\
**Post date:** [April 18, 2019, 3:27pm UTC](https://forum.bubble.io/t/viewport-removing-safari-for-web-app/54809/5 "2019-04-18T15:27:33Z")

</div>

Ive tried the snippet suggest here to no avail ☹

---

<div class="post-metadata">

**Author:** ![simon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/simon/32/8895_2.png) [@simon](https://forum.bubble.io/u/simon)\
**Post date:** [April 18, 2019, 5:17pm UTC](https://forum.bubble.io/t/viewport-removing-safari-for-web-app/54809/6 "2019-04-18T17:17:32Z")

</div>

did you add a \> on to the end of the snippet?

---

<div class="post-metadata">

**Author:** ![peter8](https://avatars.discourse-cdn.com/v4/letter/p/ee7513/32.png) [@peter8](https://forum.bubble.io/u/peter8)\
**Post date:** [April 18, 2019, 5:27pm UTC](https://forum.bubble.io/t/viewport-removing-safari-for-web-app/54809/7 "2019-04-18T17:27:14Z")

</div>

Just a thought, but could this have anything to do with Bubble’s progress bar?

---

<div class="post-metadata">

**Author:** ![robbertmastebroek](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/robbertmastebroek/32/13490_2.png) [@robbertmastebroek](https://forum.bubble.io/u/robbertmastebroek)\
**Post date:** [April 18, 2019, 10:20pm UTC](https://forum.bubble.io/t/viewport-removing-safari-for-web-app/54809/8 "2019-04-18T22:20:47Z")

</div>

Nope, this is because of changes in iOS 11+ Safari, which added some extra white space for devices with rounded screens.

Adding the viewport-fit=cover (the solution that @simon is proposing) will solve this, but… You’ll need to be on a Paid Bubble plan to add custom meta stuff to the page header.

Would be great if this could set as standard on @Bubble’s end.

---

<div class="post-metadata">

**Author:** ![jaos.pcl](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jaos.pcl/32/25119_2.png) [@jaos.pcl](https://forum.bubble.io/u/jaos.pcl)\
**Post date:** [April 19, 2019, 5:06pm UTC](https://forum.bubble.io/t/viewport-removing-safari-for-web-app/54809/10 "2019-04-19T17:06:50Z")

</div>

> [@robbertmastebroek](#):
>
> Adding the viewport-fit=cover (the solution that @simon is proposing) will solve this, but… You’ll need to be on a Paid Bubble plan to add custom meta stuff to the page header.

There is a way to add meta in the header without being on a paid plan. By using the HTML element and `<header> whatever you want </header>`

---

<div class="post-metadata">

**Author:** ![gnelson](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@gnelson](https://forum.bubble.io/u/gnelson)\
**Post date:** [April 19, 2019, 8:05pm UTC](https://forum.bubble.io/t/viewport-removing-safari-for-web-app/54809/11 "2019-04-19T20:05:41Z")

</div>

Hello,  
You mentioned [quote=“pauljamess, post:1, topic:54809”]  
Bubble is awesome for building in things like removing Safari with a simple check box which i’ve done,  
[/quote]. where is the checkbox you mention?  
Thanks

---

<div class="post-metadata">

**Author:** ![robbertmastebroek](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/robbertmastebroek/32/13490_2.png) [@robbertmastebroek](https://forum.bubble.io/u/robbertmastebroek)\
**Post date:** [April 20, 2019, 2:09am UTC](https://forum.bubble.io/t/viewport-removing-safari-for-web-app/54809/12 "2019-04-20T02:09:53Z")

</div>

In your app’s settings under General \> iOS Appearance \> Hide Safari UI. 🙂

---

<div class="post-metadata">

**Author:** ![robbertmastebroek](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/robbertmastebroek/32/13490_2.png) [@robbertmastebroek](https://forum.bubble.io/u/robbertmastebroek)\
**Post date:** [April 20, 2019, 2:30am UTC](https://forum.bubble.io/t/viewport-removing-safari-for-web-app/54809/13 "2019-04-20T02:30:37Z")

</div>

Hmm, in that case you would have a second \< head \> within your \< body \> I think, which wouldn’t be semantically correct. But if it works it works, I guess. 😋

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [May 2, 2019, 3:06pm UTC](https://forum.bubble.io/t/viewport-removing-safari-for-web-app/54809/14 "2019-05-02T15:06:27Z")

</div>

Closed on May 2, 2019, 3:06pm UTC

This topic was automatically closed after 14 days. New replies are no longer allowed.
