简体   繁体   English

在iPhone 6的应用程序图标下更改标题

[英]Change title under app icon for iPhone 6

I need to change the name that appears below the app icon. 我需要更改显示在应用程序图标下方的名称。 I referred to this answer: https://stackoverflow.com/a/2189996/2376667 . 我提到了这个答案: https : //stackoverflow.com/a/2189996/2376667

While changing the bundle name does the trick for other iOS devices, it is not working for iPhone 6 and iPhone 6 Plus. 虽然更改捆绑包名称在其他iOS设备上确实有用,但不适用于iPhone 6和iPhone 6 Plus。

eg; 例如; if the previous bundle name was "MyApplication" and the new bundle name is "My Application", for rest of the devices the title gets shown as "My Application" but for iPhone 6 and iPhone 6 Plus, it still gets shown as "MyApplication". 如果以前的捆绑包名称是“ MyApplication”,而新的捆绑包名称是“ My Application”,则对于其他设备,标题显示为“ My Application”,但对于iPhone 6和iPhone 6 Plus,标题仍然显示为“ MyApplication” ”。 So I suppose it is not honouring the space that has been inserted. 因此,我认为这不符合已插入的空间。 How do I get the changed name to display for iPhone 6? 如何获得更改后的名称以显示在iPhone 6上?

Changing App Name is pretty straight forward. 更改应用名称很简单。 It has to be the product name. 它必须是产品名称。

Go to

Build Settings -> Packaging -> Product Name 构建设置->包装->产品名称

After setting it, Xcode should be the one generating the necessary changes to the other properties. 设置后,Xcode应该是对其他属性进行必要更改的代码。

If you followed the reference given. 如果您遵循给出的参考。 Kindly put back the Bundle Name value to its default ${PRODUCT_NAME} 请将“捆绑包名称”值恢复为默认的$ {PRODUCT_NAME}

I've done this numerous time and it always work. 我已经做了很多次,并且一直都能正常工作。

You don't have to but you could reset the simulator just to be sure you're working on a clean state. 您不必这样做,但是可以重置模拟器,以确保您处于干净状态。

Info plist的Custom iOS Target Properties中更改Bundle nameBundle display name

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM