iOS获取系统当前语言
2016-11-02 本文已影响30人
俯首木匠
- (void)getCurrentLanguage
{
NSArray *languages = [NSLocale preferredLanguages];
NSString *currentLanguage = [languages objectAtIndex:0];
DLog( @"%@" , currentLanguage);
}
- (void)getCurrentLanguage
{
NSArray *languages = [NSLocale preferredLanguages];
NSString *currentLanguage = [languages objectAtIndex:0];
DLog( @"%@" , currentLanguage);
}