iPhone App display name

2019-05-04 16:10发布

If I have an iPhone app named: MyCoolApp

How do I keep the bundle named: MyCoolApp.app

But have the app name on that shows up underneath my icon read: My Cool App

I have changed my PRODUCT_NAME target setting to be "My Cool App" and changed my plist CFBundleDisplayName and CFBundleName to be "MyCoolApp". So far my app name on the device still reads "My Cool App"

I'm pretty green to this stuff still. Thanks for any help you can provide.

3条回答
小情绪 Triste *
2楼-- · 2019-05-04 16:28

Sometimes when changing the Project Properties it does not work. Project Properties and Target Properties Window look the same. I have mistaken there sooo many times. ;)

查看更多
兄弟一词,经得起流年.
3楼-- · 2019-05-04 16:32

You might need to delete the app from the device and reload it for the change to take effect.

查看更多
干净又极端
4楼-- · 2019-05-04 16:46

The best way to do this is using a key called Bundle Display Name. It has to be added in the info.plist.

DO NOT CHANGE THE PRODUCT NAME IN BUILD SETTINGS. This is not a good approach as it changes your bundle identifier. All you need to change is the product display label.

Note: Make sure to include this in info.plist in your projectTests info.plist also.

查看更多
登录 后发表回答