今あるローカル通知を全削除⬇︎
let unc = UNUserNotificationCenter.current()
unc.removeAllPendingNotificationRequests()
ID指定して削除したい場合はこっち⬇︎
unc.removePendingNotificationRequests(withIdentifiers: ["id"])
ローカル通知って一度に64件くらいしか登録できないんですよねー
今あるローカル通知を全削除⬇︎
let unc = UNUserNotificationCenter.current()
unc.removeAllPendingNotificationRequests()
ID指定して削除したい場合はこっち⬇︎
unc.removePendingNotificationRequests(withIdentifiers: ["id"])
ローカル通知って一度に64件くらいしか登録できないんですよねー