I think the change in behavior makes sense sort of for many things, but would be nice if there was a way to opt out and get the real device locale even if your app doesn't support the user's native language.
For example something like this:
+(NSLocale*)deviceLocale; //Device locale, even if the app is not localized in the given language.
My app displays dates and I've had a couple users complain that they want the date formatted in the style of their language. Even though my app isn't localized in their language, they don't care, they want the date the way they want it.
Does anyone know of a way to get the device locale like +currentLocale used to?
Edit to answer my own question, below seems to work:
NSString *localeID = NSLocale.preferredLanguages.firstObject; NSLocale *deviceLocale = [NSLocale localeWithLocaleIdentifier:localeID]; //use the locale