TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Bryan Irace.
A function that parses the useful parts out of a keyboard will appear/disappear notification.
- (void)keyboardWillShow:(NSNotification *)notification {
BRYParseKeyboardNotification(notification, ^(NSTimeInterval keyboardAnimationDuration, CGFloat keyboardHeight, UIViewAnimationOptions keyboardAnimationOptions) {
[UIView animateWithDuration:keyboardAnimationDuration delay:0 options:keyboardAnimationOptions animations:^{
someView.frameHeight -= keyboardHeight;
}];
});
}
Available for use under the MIT license: http://bryan.mit-license.org