objective c - Badge iOS application without running the app or sending a push notification? -


i have task manager app, , want app icon show badges number of tasks due today. know can use

 [uiapplication sharedapplication].applicationiconbadgenumber=1; 

to badge, user have open app. know can set notification sent on date, want badge. don't want notification message sent.

uilocalnotification can configured set badge of application, if leave alertbody nil, , fill in applicationiconbadgenumber (and firedate) properties.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -