我的应用程序在后台安排了UILocalNotification,并将其添加到Notification Center . 但是,在通知中心点按通知时,应用程序会打开,但通知仍保留在通知中心中 . 怎么可以删除?
要取消UILocalNotification使用:
- (void)cancelLocalNotification:(UILocalNotification *)notification.
资料来源:Delete a UILocalnotification at a certain indexpath
1 回答
要取消UILocalNotification使用:
资料来源:Delete a UILocalnotification at a certain indexpath