I am creating an application that counts down the specified date.This app displays the number of days remaining until the specified date as a badge for the app icon.
https://itunes.apple.com/jp/app/atomaru-canri-ri-shuwobajjidekauntodaun/id466693925?mt=8
I would like to know how to reduce the number of badges when the app is in kill like this app.(The above application does not seem to use a server.)
Thank you for your cooperation.
ios objective-c
This can be achieved with UILocalNotification
(local notification).
When you schedule it, fill in the local notifications until the scheduled date, and you will be notified without a server, even if the application is killed.
If it's a countdown by 12/24,
You can set up a notice to reduce the number of badges every day.
© 2024 OneMinuteCode. All rights reserved.