Reputation: 51
I have question about push notification sync between devices.
I'm building application for iPhone and iPad. Both of them support push notifications and I send notifications to both devices at the same time.
Is it possible to "hide/dismiss" the push notification on all devices (or change badge) when the notification is opened? Like iMessages.
On io7 slide features 'Notification sync' is enabled on third party application
Thanks.
Upvotes: 0
Views: 378
Reputation: 557
You can change the badge value in the app delegate by using the function
applicationDidReceivedRemoteNotification:
Check UIApplication for more reference.
Upvotes: 1