我正在尝试使用以下内容获取 UIkeyboard 高度:
float keyboardHeight;
CGRect keyboardFrame = [[[aNotification userInfo]
objectForKey:UIKeyboardFrameBeginUserInfoKey]
CGRectValue];
keyboardHeight = keyboardFrame.size.height;
但它返回的大小是 1024.00 。我想知道这是否正常。