I have a UITextField that I am using to enter IP Addresses. I am using the Decimal Pad keyboard for this field.
IP Addresses are dotted-decimal in all regions (to best of my knowledge). I want to force the "decimal" on the pad to be DOT regardless of region. I have searched here and found several bug reports, but no answer.
On another site I saw a recommendation to subclass UITextField to deliver a UITextInputMode.primaryLanguage that keeps DOT. I found that UITextField does call for UITextInputMode, but it never queries the "primaryLanguage" of that mode (so overriding it doesn't help).
I've also seen some reports that say that the decimal is determined by the Region rather than the language (and I don't know how to override region for a UITextField).
How do I make the decimal stay a DOT for UITextField? Thanks!