捆绑显示名称缺少空格字符 [英] Bundle display name missing space characters

查看:415
本文介绍了捆绑显示名称缺少空格字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将包含空格的显示名称作为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:


  1. 打开info.plist作为源代码(右键单击,打开为...)

  2. 查找CFBundleDisplayName

  3. 替换普通空间,带有unicode  

  1. Open info.plist as Source code(right click, open as...)
  2. Find CFBundleDisplayName
  3. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆