Der privateste Blog von Philipp.
Hallo! Ich habe gerade freie Kapazitäten und suche Projekte mit PHP / Laravel / Vue.js / React / etc. Wenn ihr was habt, schreibt mir gerne

Language Identifiers in iOS 9

Yay. In iOS 9 you may have noticed some language related issues. All my Instagram push notifications are in German instead of English, for example. After a similar problem appeared in an app we developed, I did some googling and found this technical note, which states:

With iOS 9, the results returned by NSLocale.preferredLanguages() can differ from previous releases.

TL;DR: NSLocale.preferredLanguages() now returns en-US instead of en. Update your code if you check for isEqualToString:@"en".

Du suchst nach mehr? Ältere Posts von 2018 bis 2013 befinden sich im Archiv , viel Spaß!