iOS Keyboard Notification extension

#1

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

7 Likes

#2

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

#3

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

1 Like

#4

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

#5

Yeah, points. Thanks for testing!

1 Like