更新时间:2023-02-26 21:14:03
scheduledLocalNotifications 将为您提供所有预定的列表通知和使用
scheduledLocalNotifications will give you the list of all scheduled notifications and use
- (void)cancelLocalNotification:(UILocalNotification *)通知
或者您可以使用以下方式全部取消:
or you can cancel them all using:
[[UIApplication sharedApplication] cancelAllLocalNotifications];