Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
Post marked as unsolved with 1 replies, 0 views
Anyway. I can get the correct height now.
let end = userInfo[UIResponder.keyboardFrameEndUserInfoKey] as! NSValue).cgRectValue
let begin = (userInfo[UIResponder.keyboardFrameBeginUserInfoKey] as! NSValue).cgRectValue
let height = begin.origin.y - end.origin.y