Change Display Name iOS Tutorial
source link: https://www.tuicool.com/articles/hit/yYnIRnm
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
On the Home screen by default the app's name will be displayed. Sometimes it is needed to change this display name. In this tutorial the display name will be changed using a property list item. This tutorial is made with Xcode 10 and built for iOS 12.
Open Xcode and create a new Single View App.
For product name, use IOSChangeDisplayNameTutorial and then fill out the Organization Name and Organization Identifier with your customary values. Enter Swift as Language and choose Next.
By default, the displayed name on the Home screen equals the App name. Go to the info.plist file and Look for the Bundle name item. It's value is ${PRODUCT_NAME), which in fact is the Project's name,
Build and Runthe Project, go to the Hardware menu and select Home. The current app's name is too long to display and therefore it is truncated.
Go to the info.plist file Right click on any item and select "Add Row". Choose Bundle Display Name. Give the row the value NewName.
Build and Runthe app again, go to the home screen to see the new display name.
You can download the source code of the IOSChangeDisplayNameTutorial at the ioscreator repository on Github .
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK