Possible Duplicate:
Push-Notification Badge auto increment.
I have implemented Push Notification for my iPhone application. Whenever I get the message, I want to increment badge value by one so I need not to pass it in Push Notification payload. Is it possible?
From here I learnt that I have to manage that from server side, so that's the only way? I had to store the previous value in Database and get the last value whenever I send next message? Isn't Apple support this automatically like incrementing application.applicationIconBadgeNumber whenever Push Notification received.
The problem with managing Badge number from server side is if user has already seen the previous Push Notification message, you would send wrong badge number!