NSLocale preferredLanguages objectAtIndex:0 always return “en”
问题 Simulator's language already changed to Japanese, why [[NSLocale preferredLanguages] objectAtIndex:0] always return "en" ? Neither preferred language nor region is related to "en", where does "en" come from? Tried to get [[NSLocale preferredLanguages] objectAtIndex: 2 ] , then crash shows *** Terminating app due to uncaught exception 'NSRangeException', reason: '-[__NSCFArray objectAtIndex:]: index (2) beyond bounds (1) Does it means there is no any languages are set in simulator? So weird!