1

We have a requirement in our iOS5/6 app to remove the badge number from our app icon, but leave the notification text in the notification center. Setting the badge number to 0 clears out the notification text as well.

Our potential solution is to set the badge number to -1, which seems to do exactly what we are looking for. Does anyone else have any experience with doing this?

4

2 回答 2

0

When you open the app and set the application badge to 0, all the notifications of the notification center are cleared.

于 2012-11-08T21:12:18.940 回答
0

This works as expected in iOS 5 and 6.0. We are able to remove the badge icon, but not the notification text by setting the badge number to -1.

于 2013-01-02T15:53:41.160 回答