【发布时间】:2020-06-12 14:19:06
【问题描述】:
我的 swift 应用程序中有一个时间通知,它每天在 8 点在本地发送推送通知。我想添加一个按钮,以便如果按下它,它只会取消当天的推送通知。我的问题是removeAllPendingNotificationRequests() 会做这项工作还是会永远取消时间通知?
【问题讨论】:
标签: swift push-notification notifications apple-push-notifications unusernotificationcenter