Thursday, December 5, 2013

How to change the value in the case of the program applicationIconBadgeNumber off?

In the case of how the program off (in the background is also turned off) to change the value applicationIconBadgeNumber for?
Almighty csdn, there is no one to tell me the answer, do not say can not, the application has been made, that he did not know how to achieve
Reply:
The reply was deleted at the moderator 2011-04-22 09:43:51

Reply:
This. . . The value saved.
Reply:
reference to the second floor ilysony reply:
this. . . The value saved.

Values ​​can be saved, at what time to change it
Reply:
The reply was deleted at the moderator 2011-05-06 08:42:35

Reply:
Nobody reply, how knot paste ah
Reply:
The notification itself contains the number to display in the badge.
So, here
- (Void) application: (UIApplication *) application didReceiveLocalNotification: (UILocalNotification *) notif {
application.applicationIconBadgeNumber = notif.applicationIconBadgeNumber-1;
}
To add. Otherwise, it will not change.
Reply:
6th Floor, positive solution.
Reply:
Positive Solutions of a hair, the program quit, would not have to go here, but also where to go +

No comments:

Post a Comment