keyboardAnimationDurationUserInfoKey
A user info key to retrieve the duration of the keyboard animation in seconds.
Declaration
nonisolated class let keyboardAnimationDurationUserInfoKey: StringDiscussion
The value for this key is an NSNumber object containing a double that represents the duration of the keyboard animation in seconds. You can use this value to match the animation of the keyboard in your own animations.
For an example of how to match the keyboard’s animation, see keyboardAnimationCurveUserInfoKey.