Issues with decimal pad

Hi,


I was not able to find any other posts about this but I am having an issue with the keyboardType DecimalPad.


textfield.keyboardType = .DecimalPad


The keyboard seems to work fine in the simulator but when i use the keyboard on my actual device the app crashes. The reason it crashes is because it shows a comma ( , ) instead of a decimal point ( . ) on the pad.


I am getting the following message in the debugger:

Can't find keyplane that supports type 8 for keyboard iPhone-Portrait-DecimalPad;
using 4131139949_Portrait_iPhone-Simple-Pad_Default


I am using Xcode Version 7.0.1 (7A1001) and testing this on a physical iPhone 5S.

Is this a bug or am I doing something wrong here?

Depending on the locale (region) set on the device, your decimal pad may have either a . or a , or maybe even something else. (There are some weird and wonderful locales out there). You haven't given any details about the crash though so without that nobody can help solve it.


I don't think that "couldn't find keyplane" thing is relevant. I see that all the time and it doesn't seem to harm anything in my apps.

Harmless but annoying! Who want's these useless messages in the console? Apple needs to remove. This shows since ios 6 I believe. Im working on a iOS 14 app for ordering food and leaving a tip and I don't want anything other than numbers and decimal. Im using: textField.keyboardType = .decimalPad It works fine but I get the annoying message. Until apple removes just ignore the annoying message and continue to use.
Issues with decimal pad
 
 
Q