Here’s a library called IHKeyboardAvoiding that works differently from previously mentioned libraries allowing you to automatically slide any view out of the way of the keyboard (not just text fields) submitted by Fraser Scott.
I mentioned a few libraries for solving the issue of text fields being covered by the keyboard, most recently IQKeyboardManager that provides an approach not requiring any code.
IHKeyboardAvoiding allows you to register a target view and when that keyboard intersects with the bottom of the target view it slides the view (and views contained within) upwards out-of-the-way of the view. This view can be any view, and use of a UIScrollView is not required. The library works with all orientations, auto layout and different keyboard setups (dock, undocked, normal, split).
Here’s an animation showing IHKeyboardAvoiding in action – notice the button and text fields sliding out-of-the-way:
You can find IHKeyboardAvoiding on Github here.
A nice library for solving the issue of views being covered by the keyboard.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.