查找应用已设置的本地通知列表 [英] Find list of Local Notification the app has already set

查看:88
本文介绍了查找应用已设置的本地通知列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序允许用户以后设置一些提醒。当应用程序发布时我想知道已经设置了什么提醒(通知)。

My app allows users to set a number of reminders in the future. When the app lauches I want to know what reminders (notifications) have already been set.

我可以回读我已设置的通知或我需要存储在我的通知中吗? app(例如核心数据或Plist)?

Can I read back the notifications I have set or do I need to store in my app (e.g. Core Data or Plist)?

推荐答案

UIApplication 有一个属性名为 scheduledLocalNotifications

UIApplication has a property called scheduledLocalNotifications which you can use.

这篇关于查找应用已设置的本地通知列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆