Get keyboard size on iOS 8 not working with external keyboard
问题 Been looking at several SO post now, but none seem to help me. Just want a UITableView s bottom constraint to be set so that the keyboard never is on top of the tableview. Seems impossible in iOS 8. It work when using normal soft keyboard, but when removing it in simulator or using real hardware keyboard, it still thinks there is a soft keyboard. The code: var currentKeyboardHeight:CGFloat = 0.0 override public func viewDidLoad() { super.viewDidLoad() NSNotificationCenter.defaultCenter()