Reputation: 69
I have a task manager app, and I want the app icon to show badges for the number of tasks due today. I know you can use
[UIApplication sharedApplication].applicationIconBadgeNumber=1;
to badge, but the user would have to open the app. I know you can set it up so a notification is sent on a certain date, but all I want is the badge. I don't want a notification with a message sent.
Upvotes: 1
Views: 85
Reputation: 406
UILocalNotification
can be configured to only set the badge of the application, if you leave alertBody
as nil
, and only fill in the applicationIconBadgeNumber
(and fireDate
) properties.
Upvotes: 1