Cancel UILocalNotification

后端 未结 10 955
余生分开走
余生分开走 2020-11-27 12:53

I have a problem with my UILocalNotification.

I am scheduling the notification with my method.

- (void) sendNewNoteLocalReminder:(NSDate *)date  a         


        
10条回答
  •  情书的邮戳
    2020-11-27 13:34

    Swift 5:

    UNUserNotificationCenter.current().removePendingNotificationRequests(withIdentifiers: arrayContainingIdentifiers)
    

提交回复
热议问题