Sam
Sam

Reputation: 621

How to change the keypad programatically to specified language

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

Answers (1)

ColinE
ColinE

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

Related Questions