iphone - Display keyboard without animation -


has been found in UIKeyboardAnimationDurationUserInfoKey but I can not find it anywhere that how to define a custom value Have to set up.

UIKeyboardAnimationDurationUserInfoKey is a dictionary string identifier that holds the dictionary key Animation duration, so there is no way to change it easily.

To view keyboard notifications and disable animation when they are visible and then they are re-enabled, there is a way to reveal the keyboard without animation. This, of course, disables any other animation as well.

  [[NSNotificationCenter defaultCenter] addObserver: auto selector: @selector (WillShowKeyboard :) Name: UIKeyboardWillShowNotification object: zero]; [[NSNotificationCenter defaultCenter] addObserver: Self Selector: @Selector (Shawkeyboard :) Name: UIKeyboardDidShowNotification Object: Zero]; - (empty) will be World Box: (nsnification *) Notification {[UIVV SetAnnaments enabled: No]; } - (zero) show showboard: (NSNetification *) Notification {[UIView set animation enabled: Yes]; }  

and then for UIKeyboardWillHideNotification / UIKeyboardDidHideNotification notifications.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -