I am very confuse with my small test app.When i do on the Textfield the keyboard comes slowly I want to increase the keyboard time.Can anybody tell me that how i can increase the time of KeyBoard up and down?
Asked
Active
Viewed 468 times
0
-
you want to increase the time or the speed??? they are inversely proportional you know. so if you increase the time it will be slower... anyways.. i don't think you can change it.. – Swapnil Luktuke Feb 24 '11 at 07:02
1 Answers
1
The speed of the system keyboard can be retrieved via the UIKeyboardAnimationDurationUserInfoKey
and is read-only.
UPDATE: How to get the values. In the notification listener:
- (void)keyboardWillShow:(NSNotification*)notification
{
NSDictionary* userInfo = [notification userInfo];
NSTimeInterval animationDuration;
UIViewAnimationCurve animationCurve;
[[userInfo objectForKey:UIKeyboardAnimationCurveUserInfoKey] getValue:&animationCurve];
[[userInfo objectForKey:UIKeyboardAnimationDurationUserInfoKey] getValue:&animationDuration];
}

ohho
- 50,879
- 75
- 256
- 383
-
-
The animation curve is zero. I thought it would be some sort of ease in ease out type of timing curve, but it is not. The curve is set to zero. – mskw Oct 24 '12 at 16:33