You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.
s.summary = "IHKeyboardAvoiding is an elegant solution for keeping any UIView visible when the keyboard is being shown"
s.description = <<-DESC
IHKeyboardAvoiding will translate any UIView up when the keyboard is being shown, then return it when the keyboard is hidden.
Two views are registered with IHKeyboardAvoiding, the avoidingView which is moved, and one or more targetViews which will trigger the avoiding. If a targetViews frame will be intersected by the keyboard, then the avoidingView will move up just above the keyboard.
What sets IHKeyboardAvoiding apart from other keyboard avoiding solutions is that it doesn’t require placing your content in a UIScrollView. No scroll view is used. And it isn’t restricted to keeping UITextFields visible, instead any UIView can be a target which will be kept visible
If Autolayout is used then the constraints are animated, otherwise a CGAffine translation is done