IOS 12 language and regions settings with no effect

Hello,


i have startet my app in two simulators 6sPlus (ios10) and 6sPlus (ios12). Both Simulators where set to German in Region and Language.

If i put in the following code :

let localetest = (Locale.current as NSLocale).object(forKey: NSLocale.Key.languageCode)!

print(localetest)


i get to different outputs for the two simulators.


6sPlus (ios10) = "de"

6sPlus (ios12) = "en"


I think that the language and regions-settings in IOS 12 have no effect. Maybe there is a bug. Could someone please test this ?


Thank you.