取消本地单个通知u能帮助我如何取消在iOS的10如何在目标C
UNUserNotificationCenter *center = [UNUserNotificationCenter currentNotificationCenter];
[center removeAllPendingNotificationRequests];
[center removePendingNotificationRequestsWithIdentifiers:@[ CYLInviteCategoryIdentifier ]];
removePendingNotificationRequestsWithIdentifiers
本地通知我无法理解
可你不明白什么removePendingNotificationRequestsWithIdentifiers?它将删除标识符出现在阵列上的所有待处理通知请求。 –
[Cancel UILocalNotification]的可能重复(http://stackoverflow.com/questions/3158264/cancel-uilocalnotification) – Spartan