# Get iOS onscreen keyboard notification and size

**URL:** <https://forum.juce.com/t/get-ios-onscreen-keyboard-notification-and-size/37610>\
**Category:** MacOSX and iOS\
**Created:** [February 14, 2020, 12:44pm UTC](https://forum.juce.com/t/get-ios-onscreen-keyboard-notification-and-size/37610 "2020-02-14T12:44:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamiebullock](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jamiebullock/32/459_2.png) [@jamiebullock](https://forum.juce.com/u/jamiebullock)\
**Post date:** [February 14, 2020, 12:44pm UTC](https://forum.juce.com/t/get-ios-onscreen-keyboard-notification-and-size/37610/1 "2020-02-14T12:44:44Z")

</div>

When a `TextEditor` gains keyboard focus on iOS, the onscreen keyboard appears, which is great.

However, it also partially obscures the main component on the screen, potentially hiding the `TextEditor`. Is there any way to

1. Get a notification when they keyboard appears
2. Get the keyboard’s bounds

When I say “any way” I mean cleanly within JUCE. I’m aware I could handle this with native UIKit code, but I’d rather avoid that.

---

<div class="post-metadata">

**Author:** ![dhilowitz](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/dhilowitz/32/6652_2.png) [@dhilowitz](https://forum.juce.com/u/dhilowitz)\
**Post date:** [September 11, 2020, 4:47pm UTC](https://forum.juce.com/t/get-ios-onscreen-keyboard-notification-and-size/37610/2 "2020-09-11T16:47:33Z")

</div>

Did you ever find a solution to this?

---

<div class="post-metadata">

**Author:** ![jamiebullock](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jamiebullock/32/459_2.png) [@jamiebullock](https://forum.juce.com/u/jamiebullock)\
**Post date:** [September 21, 2020, 7:14pm UTC](https://forum.juce.com/t/get-ios-onscreen-keyboard-notification-and-size/37610/3 "2020-09-21T19:14:39Z")

</div>

Not as far as I remember. I think I ended up writing the notification handling in Swift and then passing an object to JUCE via the bridging API.

---

<div class="post-metadata">

**Author:** ![jrlanglois](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jrlanglois/32/21372_2.png) [@jrlanglois](https://forum.juce.com/u/jrlanglois)\
**Post date:** [September 21, 2020, 7:22pm UTC](https://forum.juce.com/t/get-ios-onscreen-keyboard-notification-and-size/37610/4 "2020-09-21T19:22:23Z")

</div>

Just dropping this FR as it’s relevant: [FR: Add On-Screen Keyboard Support](https://forum.juce.com/t/fr-add-on-screen-keyboard-support/35737/2)
