IOS 11 个摄像机标签未以本地 Phone 语言显示

IOS 11 Camera labels not displaying in Local Phone language

在之前的版本IOS中,Camera labels were displaying correctly that is based on the local phone language camera labels were displaying correctly.

例如 如果phone 语言是德语 ==> 那么显示的相机标签也是德语

这是通过在 Info.Plist 文件中添加 language/culture 代码实现的。

但存在相同的设置,但标签显示为英语而不是本地 phone 语言。

是否有任何设置必须包含在 Info.plist 中?

在互联网上挖掘后得到修复。

在使用以下值之前,它曾经有效。

<key>CFBundleDevelopmentRegion</key>
  <array>
     <string>da-DK</string>
     <string>en-US</string>
  </array>

但现在使用下面的代码就可以了

<key>CFBundleLocalizations</key>
  <array>
     <string>da-DK</string>
     <string>en-US</string>
  </array>