问题
I'm working on an app where I need to send a good amount of notifications to the user daily. Around 5-40 depending on the user.
I'm using local notifications to send it, but I know there is a 64 notification limit. Does this mean 64 notifications per day, or in total?
回答1:
It means simultaneously scheduled for future delivery. You can send as many as you want per day, provided they don't overlap.
If you add more than 64 requests (under UserNotifications
) or scheduled (under UIApplication
/UILocalNotification
), the older ones will be dropped and not delivered.
回答2:
Unfortunately iOS limits the local schedule notification up to 64. May be to prevent this issue can schedule first group of notification initially and then schedule another group when launch the app next time.
来源:https://stackoverflow.com/questions/47319468/is-the-ios-local-notification-limit-per-day