Reputation: 621
I have used the following code to convert my app to other language so that I can achieve localisation programmatically but my key pad does not change to the specified language
[[NSUserDefaults standardUserDefaults] setObject:[NSArray arrayWithObjects:@"zh", nil]
forKey:@"AppleLanguages"];
[[NSUserDefaults standardUserDefaults] synchronize];
How can I change my keypad for specific language?
Upvotes: 1
Views: 125
Reputation: 70170
Unfortunately you cannot change the language of the keyboard. This is a user setting, it is not available via any APIs.
Upvotes: 2