'How to get time of keyboard show/dismiss animation?
I need do some animation with keyboard animation.
In iOS development,we can get time from keyboard notification.
NSDictionary *userInfo = paramNotification.userInfo;
NSValue * value = [userInfo objectForKey:UIKeyboardFrameEndUserInfoKey];
CGRect keyboardsize = value.CGRectValue;
CGFloat keyH = keyboardsize.size.height;
NSNumber *time = [userInfo objectForKey:UIKeyboardAnimationDurationUserInfoKey];
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
