Updated for iOS 8. Keyboard size reported correctly now for current orientation.