CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ | 
| LangLanguage | Obj-CObjective C | 
| License | MIT | 
| ReleasedLast Release | Jun 2015 | 
Maintained by Juan Uribe.
UIScrollView-Keyboard is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'UIScrollView-Keyboard', '~> 0.1.0'In the viewWillAppear: of your UIViewController call the startObservingKeyboardNotifications method on the UIScrollView you are using and in the viewWillDisappear: call stopObservingKeyboardNotifications.
If you also want to dismiss the keyboard when the user taps the screen, then call dismissKeyboardWithTap.
- (void)viewDidLoad
{
    [self.scrollView dismissKeyboardWithTap];
}
- (void)viewWillAppear:(BOOL)animated {
    [self.scrollView startObservingKeyboardNotifications];
}
- (void)viewWillDisappear:(BOOL)animated {
    [self.scrollView stopObservingKeyboardNotifications];
}NOTE: The category uses notifications to know when the keyboard shows and hides, so remember to call stopObservingKeyboardNotifications.
To run the example project, clone the repo, and run pod install from the Example directory first.
Juan Uribe, [email protected]
UIScrollView-Keyboard is available under the MIT license. See the LICENSE file for more info.