The notification userInfo dictionaries have both animation duration (UIKeyboardAnimationDurationUserInfoKey
) and curve (UIKeyboardAnimationCurveUserInfoKey
) information; if you use both of them, your animation should match the keyboard animation timing.