获取iphone当前的语言设置

NSUserDefaults* defs = [NSUserDefaults standardUserDefaults];
    NSArray* languages = [defs objectForKey:@"AppleLanguages"];
    NSString* preferredLang = [languages objectAtIndex:0];

posted @ 2012-06-03 18:10  worldworld  阅读(205)  评论(0编辑  收藏  举报