¡@

Home 

2014/10/15 ¤U¤È 10:11:09

iphone Programming Glossary: localnotification.applicationiconbadgenumber

UILocalNotification - Fire and Repeat at particular time each day

http://stackoverflow.com/questions/10375128/uilocalnotification-fire-and-repeat-at-particular-time-each-day

How to set alarm for selected days in iphone?

http://stackoverflow.com/questions/10780517/how-to-set-alarm-for-selected-days-in-iphone

Set repeatInterval in local notification

http://stackoverflow.com/questions/14769462/set-repeatinterval-in-local-notification

Set the Application Icon Badge Number of the application's icon to the current Application Icon Badge Number plus 1 localNotification.applicationIconBadgeNumber 1 localNotification.repeatInterval NSHourCalendarUnit UIApplication sharedApplication scheduleLocalNotification localNotification..

Updating iOS badge without push notifications

http://stackoverflow.com/questions/4861131/updating-ios-badge-without-push-notifications

iPhone: Incrementing the application badge through a local notification

http://stackoverflow.com/questions/5962054/iphone-incrementing-the-application-badge-through-a-local-notification

while the app is not running I know how to set the badge but haven't found any way to increment this value. localNotification.applicationIconBadgeNumber 23 Update I found a far from being perfect solution. You can predict what will happen if the user doesn't open the app and.. if the user doesn't open the app and add notifications for every 1 event. An example For day 1 Count 0 For day 2 localNotification.applicationIconBadgeNumber 1 For day 3 localNotification.applicationIconBadgeNumber 2 For day 4 localNotification.applicationIconBadgeNumber 3 Put.. for every 1 event. An example For day 1 Count 0 For day 2 localNotification.applicationIconBadgeNumber 1 For day 3 localNotification.applicationIconBadgeNumber 2 For day 4 localNotification.applicationIconBadgeNumber 3 Put these notifications in an array and set them before the application..