VLDLocalNotificationsScheduler:绕过 64 个本地通知限制的方法

时间:2021-07-11 16:04:47
【文件属性】:
文件名称:VLDLocalNotificationsScheduler:绕过 64 个本地通知限制的方法
文件大小:83KB
文件格式:ZIP
更新时间:2021-07-11 16:04:47
Objective-C VLDLocalNotifications调度程序 最多 64 个预定的本地通知的强加限制几乎总是足够的。 您还可以使用 UILocalNotification 类的 repeatInterval 属性来无限次显示通知,只要它不更改即可。 然而,最近,我开发了一个应用程序,它可以帮助年轻的母亲了解怀孕技巧和信息。 9 个月的每一天都必须有一个本地通知,其中包含有关该特定日期的信息。 解决此问题的一种方法是将所有通知添加到队列中。 每次应用程序激活时,队列最多安排 64 个并删除任何已通过的项目。 此实现使用 SQLite 数据库(在 FMDB 的帮助下)并允许您为应用程序定义的类型添加和取消通知。 示例用法 VLDLocalNotificationsScheduler scheduler = [[VLDLocalNotificationsScheduler alloc ] init ]
【文件预览】:
VLDLocalNotificationsScheduler-master
----VLDLocalNotificationsScheduler()
--------VLDLocalNotificationsTransaction.h(508B)
--------VLDLocalNotificationsScheduler.m(4KB)
--------VLDLocalNotificationsScheduler.h(540B)
--------VLDLocalNotificationsTransaction.m(3KB)
----Example()
--------fmdb()
--------Example.xcodeproj()
--------Example()
--------ExampleTests()
----LICENSE(1KB)
----README.md(2KB)

网友评论