iphone - iOS5 通知下拉菜单 : is there a way to know when the user presses the clear button on my apps notification on the iPhone?

标签 iphone ios ios5 uilocalnotification

当用户从“通知”下拉菜单中清除我的应用程序通知时,是否有委托(delegate)方法或某种方式来获取事件? UIApplication 委托(delegate)

-(void)application:(UIApplication)application didReceiveLocalNotification:(UILocalNotification *)notification

仅在他们从列表中选择一个事件时调用,但在清除列表时不会调用。

最佳答案

不,如果用户清除了您的通知,就好像它从未到达过一样。

关于iphone - iOS5 通知下拉菜单 : is there a way to know when the user presses the clear button on my apps notification on the iPhone?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8584092/

相关文章:

ios - UIPageViewController 更改时更改 UINavigationController 的标题

jQuery 'document' 、 'body' 和 'html' 选择器在 iPhone 上不起作用

ios - 调用presentLocalNotificationNow 时触发didReceiveLocalNotification

ios - 数组或 CGImageRef 的内存泄漏

iphone - iOS 模拟器只列出最新的 iOS 版本。如何设置早期版本

iphone - UITextView 子类中的 viewDidLoad?

ios - 为什么 awakeFromNib 从 TableView 中的 Cell 调用两次?

ios - 以编程方式从 Storyboard IOS5 加载初始 View Controller

objective-c - iOS5:CLHeading 读数的低更新率 -> 切换到 CoreMotion 是有问题的

iphone - ios5.1 在iphone状态栏顶部添加UIView