0

I can set the language for every single element through

@property(nonatomic, retain) NSString *accessibilityLanguage

and I remember that somewhere I came across a mention about a way to set the language for ALL elements at once. I think it was not a category on NSObject but an API that Apple provided. Can'T find it anymore.

Is there an API or was it really just the NSObject category?

openfrog
  • 40,201
  • 65
  • 225
  • 373

1 Answers1

1

You can set the accessibility language of your complete app by setting the accessibilityLanguage property of [UIApplication sharedApplication]. So for setting the language to US English, use [[UIApplication sharedApplication] setAccessibilityLanguage:@"en-US"];

Thanks to zaviƩ: https://stackoverflow.com/a/21284038/2728579

Community
  • 1
  • 1
bdv
  • 21
  • 5