Get iOS onscreen keyboard notification and size

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.

1 Like

Did you ever find a solution to this?

1 Like

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.

1 Like

Just dropping this FR as it’s relevant: FR: Add On-Screen Keyboard Support

2 Likes