I've got two textfields with userName and userEmail. I want userName field to show keyboard with system default language and userEmail field to show keyboard always in english. How to do this?
Asked
Active
Viewed 956 times
2
-
3You can't. Keyboard language is up to the user. But you can ask for UIKeyboardTypeEmailAddress. – matt May 11 '14 at 06:32
-
But if I set keyboard type to EmailAddress it's still would be in system language – Ossir May 11 '14 at 06:43
-
1Yes, that is what I said. – matt May 11 '14 at 06:47
-
According to this answer, it may be possible in iOS 7: http://stackoverflow.com/a/23403247/2274694 – Lyndsey Scott May 11 '14 at 07:09
-
1@matt, since user2685238 is trying to override the system language, how would asking for UIKeyboardTypeEmailAddress help in this case? – Lyndsey Scott May 11 '14 at 07:18
-
It wouldn't. It is a thing he can do, that's all. He can set the keyboard type. But not, it seems, the language. – matt May 11 '14 at 07:32