具有不同 NSDate 的本地通知
在我的应用程序中,我将安排一项任务在特定日期和时间(例如 12 月 31 日)通知用户。 2010 我的开始时间为上午 9:00 ,结束时间为下午 5:00 ,在这里我必须在上午 9:00 之前和下午 5:00 之后或这些时间之间的某个时间(例如下午 2:00)通知用户 10 分钟所以我要使用 LocalNotifications ...我说得对吗?或者有没有其他方法可以实现这一点。
请帮忙..
In my application I am going to schedule a task to notify user at a particular date and time, for example on 31 dec. 2010 I have start time 9:00 Am and end-time 5:00 pm , and here I have to notify user 10 minutes before 9:00 AM and after 5:00 pm or sometime in between these times, like 2:00 pm so i am going to use LocalNotifications ...Am I right ? or is there any other way to achieve this .
PLease help ..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该只使用 LocalNotificstion,问题是您应该创建 3 个不同的通知,以便您可以实现该场景
You should use LocalNotificstion only, the thing is that you should create 3 different notification so that you can achieve the scenario