IdleHandsApps / IHKeyboardAvoiding

IHKeyboardAvoiding is an elegant solution for keeping any UIView visible when the keyboard is being shown - no UIScrollView required!
MIT License
1.41k stars 151 forks source link

Change triggerFrame originInWindow calculation. #17

Closed orkenstein closed 9 years ago

orkenstein commented 9 years ago

UIView that you previously created for origin calculation does not belong to any UIWindow, so this will give incorrect frame for triggerView in UIWindow coordinates.

vkormushkin commented 9 years ago

Thanks for this fix. It fixes the problem on iOS9 when the view moves up although it should't do this

orkenstein commented 9 years ago

@vkormushkin, You're welcome. I hope one day it will be merged.

fraserscottmorrison commented 9 years ago

@orkenstein Sorry for not responding, Ive been a tad busy with work. Ive merged it and I'll do a little testing before updating CocoaPods

Appreciate your contribution! Fraser

orkenstein commented 9 years ago

Thanks! Please, test it well. Nice framework.