- (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);
}
本文标题:iOS获取系统当前语言
本文链接:https://www.haomeiwen.com/subject/jivvuttx.html
网友评论