Created
May 7, 2015 12:33
-
-
Save EvgenyMorozov/67ece56b67343b843c11 to your computer and use it in GitHub Desktop.
Retrieve the locale that application is currently using (For the case, then the application doesn't support system locale).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSString *localization = [NSBundle mainBundle].preferredLocalizations.firstObject; | |
NSLocale *locale = [[NSLocale alloc] initWithLocaleIdentifier:localization]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment