Papercloud / KeyboardConstraint

A NSLayoutConstraint subclass which observes keyboard notifications.
MIT License
14 stars 2 forks source link

iPhone X Compatibility #9

Closed markst closed 6 years ago

markst commented 6 years ago

Resolves #8

example

ezescaruli commented 6 years ago

@markst This looks good to me 👍

I thought about using the safeAreaInsets property of UIView, but that's only available in iOS 11+ so we could change to that once we stop supporting old iOS versions.

Is the constraint still working fine in iPhones other than the X after these changes?

markst commented 6 years ago

@ezescaruli seems to be. Jak is using this branch & we've not had any issues yet!

markst commented 6 years ago

🤔 that's a funny example I made... I guess it does the job