草庐IT

UIKeyboardAnimationDurationUserIn

全部标签

xcode - UIKeyboardAnimationDurationUserInfoKey 返回极小的值

funckeyboardWillShow(notification:NSNotification){letuserInfo=notification.userInfoletkeyboardFrame=userInfo?[UIKeyboardFrameEndUserInfoKey]asNSValueletkeyboardSize=keyboardFrame.CGRectValue().sizeletanimationDurationValue=userInfo?[UIKeyboardAnimationDurationUserInfoKey]asNSValuevaranimationDur