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:
Reply:
This. . . The value saved.
Reply:
Values can be saved, at what time to change it
Reply:
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