Change the iOS simulator's current locale at runtime
问题 While developing a set of date calculations and language rules for converting numeric values and dates to strings, I'm writing tests that assert the outcome of the string formatting method. An imaginary assertion for it might looks like this: NSAssert([dateString isEqualToString:@"Three days, until 6:00 PM"], @"Date string should match expectation"); However, because the app is localized for several languages, and my fellow developers are also from and in different locales than I, it can