this one helps. There You may use Ti.UI.iPhone.appBadge = 0; to reset the appBagde in the device. From 3.x, Appcelerator has added a new functionality to reset the badge on Appcelerator server. Cloud.PushNotifications.setBadge() method allows the user to set the badge and Cloud.PushNotifications.resetBadge() will reset the badge in the notification center.
How to cancel Notification from notification center which is push notification
will help you My app uses Local Notifications. There are situations when more than one notification is scheduled and at some point displayed. When notifications are displayed badge number is updated automatically. When user clicks on one of the notifications I manually decrease badge number and cancel the notification. , Is there a good way to resolve this issue?
Getting EXC_BAD_ACCESS error (code = 1) when posting a notification with Notification Center