pull/372/head
Ryan ZHAO 4 years ago
parent f6fb8f27de
commit 9ffc118725

@ -286,7 +286,6 @@ final class ConversationVC : BaseVC, ConversationViewModelDelegate, OWSConversat
}
@objc func handleKeyboardWillShowNotification(_ notification: Notification) {
print("Ryan: handleKeyboardWillShowNotification")
guard let newHeight = (notification.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue.size.height else { return }
if (newHeight > initialKeyboardHeight && initialKeyboardHeight == 0) {
initialKeyboardHeight = newHeight

Loading…
Cancel
Save