Reputation: 31
So i'm facing a weird behavior for my iOS app where the keyboard attached to some UITextFields does show the option to switch to another language whereas for other it doesn't as shown in the following pictures.
Image with language selection option:
Image without language selection option:
Even though they have the same code basically Any help would be much appreciated.
Upvotes: 3
Views: 698
Reputation: 2055
In my case I had to set Application language
tab inside xcscheme
to System Language instead of English.
This is how it looks like:
first I opened edit schemes
and then i set Application Language
to System Language
:
Upvotes: 0
Reputation: 838
Look closely at UIKeyboardType:
In your code : self.textField.keyboardType = UIKeyboardTypeASCIICapable;
change to self.textField.keyboardType = UIKeyboardTypeDefault;
or In Storyboard:
Upvotes: 1