CocoaPods trunk is moving to be read-only. Read more on the blog, there are 16 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Apr 2016 |
Maintained by “Steffi”.
SMTkeyboardManager handles automatic scrolling of textfields that hides beneath the keyboard
1.1.0
Set all texfields to a subclass of
SMTTextFieldHandler
Set all TextView to a subclass of
SMTTextViewHandler
Inside AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
SMTKeyboardManager * keyboardManager = [SMTKeyboardManager sharedManager];
[keyboardManager startKeyboardMonitoring];
return YES;
}
#pragma mark - SMTKeyboardManagerDelegate
#pragma mark -
-(void)SMTKeyboardManagerKeyboardWillShow{
NSLog(@"Hi I was called in delegate controller. Keyboard will show");
}
-(void)SMTKeyboardManagerKeyboardWillHide{
NSLog(@"Hi I was called in delegate controller. Keyboard will hide");
}
//Set YES to allow tap outside to dismiss keyboard
BOOL supportDismissTap
Pre-requisite:
Fork, implement, pull request.
Copyright (c) 2015 Steffi Tan
See MIT-LICENSE for further details.