tags:

views:

64

answers:

1

hi in apple push notification service,

  • i'm getting badge 50 for my application. but i want that badge number in my code i want to save that badge. i want to set that badge somewhere
+1  A: 

Have you tried to access it with the UIApplication property applicationIconBadgeNumber? You can both read and write this property.

[UIApplication sharedApplication].applicationIconBadgeNumber
epatel