A small category on UIViewController to enable animating keyboard dismissal with the interactive pop gesture
Objective-C Ruby
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

TAPKeyboardPop

For an in depth overview, see the blog post on the Cotap blog

In short, animated keyboard dismissal, just like iMessage:

Example Screenshot

Installation

TAPKeyboardPop is available through CocoaPods, to install it simply add the following line to your Podfile:

pod 'TAPKeyboardPop', '~> 0.1.2'

Usage

To enable the keyboard to dismiss during an interactive back gesture, import the category so that it's accessible to view controllers that can be interactively popped:

#import <TAPKeyboardPop/UIViewController+TAPKeyboardPop.h>

Author

[Dave Lyon] (http://davelyon.net/) - @daveisonthego

Contributors

License

TAPKeyboardPop is available under the MIT license. See the LICENSE file for more info.