我想知道当应用程序被用户终止时,WhatsApp如何从通知中心删除通知(例如从web读取)?
关闭,它就不会启动应用程序
崩溃。
发布于 2020-09-04 10:53:56
也许你可以在UNUserNotificationCenter.h中找到一些线索:
- (void)removeDeliveredNotificationsWithIdentifiers:(NSArray<NSString *> *)identifiers __API_UNAVAILABLE(tvos);
- (void)removeAllDeliveredNotifications __API_UNAVAILABLE(tvos); https://stackoverflow.com/questions/63738220
复制相似问题