# Guessing the keyboard height on iOS

**URL:** <https://meta.discourse.org/t/guessing-the-keyboard-height-on-ios/70919>\
**Category:** UX\
**Created:** [2017 年 9 月 28 日午前 6:52 UTC](https://meta.discourse.org/t/guessing-the-keyboard-height-on-ios/70919 "2017-09-28T06:52:51Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2017 年 9 月 28 日午前 11:28 UTC](https://meta.discourse.org/t/guessing-the-keyboard-height-on-ios/70919/16 "2017-09-28T11:28:54Z")

</div>

I am not sure anything exists but I would ❤ be proved wrong, it would make me super happy 🍶 ⛵

In the meantime I just committed an amendment to that hack that accounts for “shrunk vs non-shrunk” address bar. It makes me feel quite bad about myself, but hey it works provided you are using a default keyboard and have predictive text on.

BIG address bar:

 ![193C0D76-992A-459A-A3B7-53E01BFBFCA0](https://global.discourse-cdn.com/meta/original/3X/b/4/b475667dab49760eaad6fbc1b6a2e437c49bd27e.jpg)

Small address bar:

 ![7758721E-32D8-44AF-ACFB-30EB6C430741](https://global.discourse-cdn.com/meta/original/3X/2/9/29397c1012487744b053bb1e1e6aaffdf53c9ae8.jpg)

⏫ notice how `10.0.0.55` is big in the top picture and smaller in the second one. When it is big … you also happen to have a footer on the page that eats up visible space for nav, so we just plug in numbers and 🙏 for peace on 🌏

---

_[View the full topic](https://meta.discourse.org/t/guessing-the-keyboard-height-on-ios/70919)._
