Is the iOS Local Notification Limit Per Day?

社会主义新天地 提交于 2020-01-01 03:15:12

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!