如何检测按下本地通知关闭按钮
答
无法访问关闭按钮操作。
调度LocalNotification
后它成为一个系统事件,所以只能访问视图事件,调用didReceiveLocalNotification()
方法。
下面的示例示出了如何访问视图事件,如上面解释的:
- (void)application:(UIApplication *)application
didReceiveLocalNotification:(UILocalNotification *)notification