腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(37)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
如何使用
CKNotification
?
当cloudkit上的值发生更改时,我希望收到通知 这是我的代码: let now = Date() let timeStamp = Int(timeInterval) let bookID = CKRecord.ID(recordName: "\(timeStamp)") let book = CKRecord(re
浏览 21
提问于2019-01-07
得票数 0
回答已采纳
1
回答
我的动态
CKNotification
无法注册
我正尝试在Objective-C中为iOS设置一个动态
CKNotification
,但它无法注册通知。
浏览 15
修改于2016-08-22
得票数 0
回答已采纳
1
回答
RemoteNotification字典已更改,而
CKNotification
字典现在已不同
UIApplication, didReceiveRemoteNotification userInfo: [NSObject : AnyObject]) { //application.applicationIconBadgeNumberNSNotificationCenter.defaultCenter().postNot
浏览 0
提问于2015-08-25
得票数 2
1
回答
CloudKit从OSX中的记录ID获取实际对象
NSApplication, didReceiveRemoteNotification userInfo: [String : AnyObject]) { let recordId = queryNotification.recordID } 如何将
CKNotification
我是否需要执行另一次提取,还是只需转换
CKNoti
浏览 6
提问于2016-08-17
得票数 0
回答已采纳
2
回答
iOS 8:通过订阅获得CKRecord更改的通知
正如我所期望的,我得到了一堆
CKNotification
对象,但是每个
CKNotification
的recordFields对象都是空的。我希望它会填充我的对象的所有更改的属性。但也许事实并非如此。我没有指定CKSubscription对象的desiredKeys属性,这显然会强制
CKNotification
recordFields保存该数据。所以现在我想,我只需要获取
CKNotification
对象,看看它是否是更新,然后重新获取它所指向的对象来检索它的数据。然后,我可以对新的CKRecord和旧的进行比较,看看有什么
浏览 7
修改于2014-10-06
得票数 3
1
回答
CloudKit订阅不起作用
application: UIApplication, didReceiveRemoteNotification userInfo: [NSObject : AnyObject]) { if
ckNotification
.notificationType == .Query { let queryNotifi
浏览 3
提问于2016-02-17
得票数 0
回答已采纳
1
回答
是特定于CKMarkNotificationsReadOperation设备还是特定于应用程序?
是否有人知道将
CKNotification
标记为已读会影响所有设备,还是只会影响读取通知的设备?
浏览 4
提问于2016-01-18
得票数 1
2
回答
CloudKit didReceiveRemoteNotification没有调用Mac
我正在使用以下
CKNotification
信息,这似乎很好: CKNotificationInfo *note = [[CKNotificationInfo alloc] init]; note.alertBody
浏览 2
提问于2015-08-20
得票数 4
回答已采纳
1
回答
没有来自远程通知的声音
LoadingCloudDataViewController let notification:
CKNotification
=
CKNotification
(fromRemoteNotificationDictionary
浏览 3
修改于2016-10-23
得票数 0
回答已采纳
1
回答
如何使用CKFetchNotificationChangesOperation?
NSNotificationCenter defaultCenter] postNotificationName:@"CloudKitUpdated" object:nil userInfo:@{@"
ckNotification
CKFetchNotificationChangesOperation alloc] initWithPreviousServerChangeToken:nil]; operation.notificationChangedBlock = ^(
CKNotification
浏览 1
修改于2015-06-23
得票数 2
回答已采纳
1
回答
如何使用CKAsset检查CKSubscription更改?
如何检查与CKAsset一起存储的图像是否已在CloudKit中更改 数组中最多可以包含三个键。
浏览 1
修改于2015-02-12
得票数 1
回答已采纳
3
回答
(iOS 10,Swift 3)从CloudKit通知中读取`userInfo`字典:如何将`[AnyHashable : Any]`转换为`[String : NSObject]`?
然后,我需要将userInfo从[AnyHashable:Any]转换为[String:NSObject],这样我就可以在CloudKit的
CKNotification
:fromRemoteNotificationDictionary
浏览 37
提问于2016-08-30
得票数 6
回答已采纳
1
回答
未收到CloudKit推送通知
application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
CKNotification
*cloudKitNotification = [
CKNotification
notificationFromRemoteNotificationDictionary:userInfo];
浏览 5
修改于2014-09-23
得票数 18
1
回答
在didReceiveRemoteNotification中处理来自公共、私有和共享数据库的通知
UIViewController else { return } guard let notification:CKDatabaseNotification =
CKNotification
(fromRemoteNotificationDictionary
浏览 3
提问于2020-06-11
得票数 2
1
回答
CloudKit CKSubscription通知基础
application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
CKNotification
*note = [
CKNotification
notificationFromRemoteNotificationDictionary:userInfo]; if (note.notificationType
浏览 1
修改于2018-05-08
得票数 4
2
回答
CloudKit不会将我的工卡计数重置为0
CKFetchNotificationChangesOperation alloc] initWithPreviousServerChangeToken:nil]; operation.notificationChangedBlock = ^(
CKNotification
浏览 6
修改于2014-08-05
得票数 7
1
回答
强制iOS CloudKit同步更新将所有记录下载到本地设备
我想看看是否有可能触发CloudKit通知
CKNotification
,特别是CKQueryNotificationReasonRecordCreated,以便重新同步和重新下载所有本地记录。
浏览 0
修改于2018-05-18
得票数 1
回答已采纳
1
回答
错误:当用户未登录时,用户设置拒绝CloudKit访问
initWithPreviousServerChangeToken:token]; op.notificationChangedBlock = ^(
CKNotification
浏览 3
提问于2015-05-23
得票数 2
1
回答
iOS -推送未按预期响应的通知
-----") let cloudKitNotification =
CKNotification
(fromRemoteNotificationDictionary: userInfo)
浏览 7
提问于2017-06-14
得票数 1
回答已采纳
1
回答
CloudKit和CKSubscriptions
首先,一切都很好,我可以收到一个
CKNotification
,它工作了一段时间,直到我对开发模式做了一些更改,我只是添加了一个新字段,没有其他的,没有什么奇怪的。
浏览 5
修改于2015-05-24
得票数 0
第 2 页
领券