iOS Keyboard Notification extension

I’ve made a small extension that lets you listen to keyboard show/hide events on iOS.

7 Likes

The reason this is useful is that in landscape mode currently there is no built in way to immediately know when user closes the keyboard if they use the dismiss keyboard button. So this extension is crucial and much appreciated!

3 Likes

Working good? Are frame coordinates on ipad get to be in pixels or points?

1 Like

Tested on iPhone 5 and iPad Retina and worked perfectly on both!

I think pixels? Maybe points because 2 pixels is 1 point on iPad Retina and it’s 1024? :thinking:

1 Like

Yeah, points. Thanks for testing!

1 Like