Wrong PreferredLanguages within WidgetKit in iOS 14

后端 未结 0 1132
后悔当初
后悔当初 2021-01-17 18:07

In the app I can print Locale.preferredLanguages[0].prefix(2) and I get pl, but the same part of code within Widget gives me en. Why?<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题