How to give an application icon an alert icon without a number?

On page 7 of the Apple Local and Push Notification Programming Guide, there is a screenshot of the iPhone desktop, one of the application icons has an icon that does not contain a number - it is just red.

How can this be achieved?

+5
source share
1 answer

I think what you want to do is not possible in the current notification API. If you want to display the icon on the icon of your application, you must use the "icon" in your APNS payload, and the value for this key must be an integer.

API , applicationIconBadgeNumber, , , .

, (, ) .

+2

All Articles