当用户从“通知”下拉菜单中清除我的应用程序通知时,是否有委托(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/