问题
My iPhone app was normal in xCode 5 and iOS 7. When I updated to xCode 6.1, it was still normal. But after I update iOS 7 to iOS 8 (now xCode 6.1 and iOS 8), the keyboard type DecimalPad of uitextfield is not working property
The decimal button is a half the size it should, and when touch on the "red rectangle", the number "7" is selected. It also warning "Can't find keyplane that supports type 8 for keyboard iPhone-Portrait-DecimalPad; using 1425143906_Portrait_iPhone-Simple-Pad_Default".
I run it on iPhone 5S device.
Is it xCode 6.1 or iOS 8 problem? Any solution to fix? Thank you very much!
回答1:
I too had this problem after updating to the latest Xcode.
iOS Simulator -> Hardware -> Keyboard -> Connect Hardware Keyboard
This will fix the issue.
来源:https://stackoverflow.com/questions/26965001/xcode-6-1-ios-8-keyboard-decimal-pad-is-not-properly