I am using in game my own ttf font with only english symbols, and when user typing his name in scores, I want to show it with my font, but got some troubles with non-english symbols (hehe, space symbols)
Is there way to show keyboard with english symbols and digits only?
I've tried to set UITextField keyboardType property to UIKeyboardTypeASCIICapable, but get only local (in my case russian) keyboard, not english
Thanks in advance!
__________________
be patient, my english is not ideal
Hi, I'm all new here.
Currently I'm having same problem as you guys, and the search turns me here.
I don't know if any of you have figured it out or not, but after some work around, I can make it work. It's not the idea solution, but it solved my needs. So I will put it here in case some one find it helpful.
The trick is to catch event KeyBoardWillShow, and use advantage of SecuredText property of UITextField.
The idea is simple: firstly you set textfield as securedText in viewDidLoad:
[yourTextField setSecureTextEntry:YES];
Then when keyboard shows up, you set it back to not secure, then keyboard will always be English (or at least, latin character keyboard).
Here are the steps:
- (void) keyboardWillShow;
{
[textField setSecureTextEntry:NO];
}