I'm trying to get device current selected language code by using the code below.
NSString *language = [[NSLocale preferredLanguages] objectAtIndex:0];
This line works fine for the first time after installation. When I change the device language from device setting, then I'm trying to retrieve device language that time NSLocale returns previously selected language.
Help to resolve this.
You should get it with
or Objective-C