iPhone App display name

2019-05-04 16:17发布

问题:

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.

回答1:

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. ;)



回答2:

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



回答3:

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.