捆绑显示名称缺少空格字符 [英] Bundle display name missing space characters
问题描述
当我将包含空格的显示名称作为A B C D时,我将应用程序名称设为ABCD。这仅在iOS 11上发生。我在InfoPlist.string中尝试覆盖名称CFBundleDisplayName并使用特殊的unicode字符\ U00A0(不间断空格)并且它对我没有帮助。
When I give Bundle display name with space as "A B C D", I get the app name as "ABCD". This happens only on the iOS 11.I tried override name"CFBundleDisplayName" in my InfoPlist.string and use special unicode character \U00A0 (No-break space) and it doesn't help me.
推荐答案
我有同样的问题。仅在iOS 11上。在较低的iOS版本中,此问题未出现。
I have the same issue. Only on iOS 11. On lower iOS version this issue isn't appeared.
我通过以下方式解决了此问题:
I resolved this with:
- 打开info.plist作为源代码(右键单击,打开为...)
- 查找CFBundleDisplayName
- 替换普通空间,带有unicode
 
- Open info.plist as Source code(right click, open as...)
- Find CFBundleDisplayName
- Replace normal space with unicode
 
这就是全部。之后显示名称显示为空格。
That's all. After that display name shows with space.
&#x2007 ;
仅在* .plist中输入时有效。无法在Xcode项目设置中插入显示名称
;
 
works only when typed in *.plist. Can't be inserted in Display name
in Xcode project settings;
这篇关于捆绑显示名称缺少空格字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!