本文介绍了iOS 8 CloudKit:CKNotifications不断显示,标记为CKNotificationTypeReadNotification的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我使用 CKFetchNotificationChangesOperation 查询过去的 CKNotifications 时,我都会不断获得一大堆标记为 CKNotificationTypeReadNotification 的标签.确实,我之前已经阅读过它们,将它们标记为已读(使用 CKMarkNotificationsReadOperation ),并在查询时更新了 lastServerChangeToken .

Whenever I query for past CKNotifications using CKFetchNotificationChangesOperation, I keep on getting a whole bunch that are marked as CKNotificationTypeReadNotification. And indeed, I have read them before, marked them as read (using CKMarkNotificationsReadOperation), and am updating my lastServerChangeToken when querying.

为什么他们会不断出现?

Why do they keep showing up?

谢谢.

推荐答案

这开始起作用了……不幸的是,我不确定为什么.

This started working…and, unfortunately, I'm not sure why.

这篇关于iOS 8 CloudKit:CKNotifications不断显示,标记为CKNotificationTypeReadNotification的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 15:30