Is the iOS Local Notification Limit Per Day?

2020-05-27 19:34发布

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?

2条回答
干净又极端
2楼-- · 2020-05-27 20:02

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.

查看更多
Animai°情兽
3楼-- · 2020-05-27 20:09

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.

查看更多
登录 后发表回答