I am Sophia
I am Sophia

Reputation: 65

My app display name is different with name in notification center

enter image description hereMy bundle is like sophia.music, but I changed my display name in Bundle display name to "音乐" and it works ok. But, when I receive a notification, I check the notification on the notification center it still shows music. How can I change it? Any comments?

Upvotes: 0

Views: 2101

Answers (2)

pkc456
pkc456

Reputation: 8506

Follow the below steps to change the name:

  1. Go to target settings
  2. Select Build settings
  3. Search "product name". It is available under Packaging header
  4. Write your name here

Upvotes: 2

Mrunal
Mrunal

Reputation: 14118

For changing app name set CFBundleDisplayName value in info.plist file:

<key>CFBundleDisplayName</key>
<string>New app name here</string>

Name specified in this way would be displayed on device under the app icon. Push notification service depends on app bundle id CFBundleIdentifier. So you needn't regenerate certificates.

Upvotes: 0

Related Questions