Is it possible to set the title of a push notification? It looks like what I'm calling the title of the notification is simply the name of the associated application. I have not seen anything in the docs that mention any way to set this value. In the iOS5 notification pull-down view, emails show up with name of the sender and the subject as the title. Is this possible, or is the OS rendering email notifications in a special way?
No, this is not possible. It will always use the name of the application as the title. There's no public API to set the title.
Update: This is now possible for iOS 8.2+ devices. Use the title
parameter in the aps
dictionary to set a custom title.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With