我从CloudKit Server获取记录更改,但每次出现错误
[LogFacilityCK]操作E0367CA861DAF5A9出现连接错误:错误域= NSCocoaErrorDomain代码= 4097"连接到名为com.apple.cloudd的服务"UserInfo = {NSDebugDescription =连接到名为com.apple.cloudd的服务}
我知道原因,因为我错误地初始化CKFetchRecordZoneChangesOperation请检查以下代码并纠正我:
CKFetchRecordZoneChangesOperation *operation = [[CKFetchRecordZoneChangesOperation alloc]initWithRecordZoneIDs:@[ recordZoneID ] optionsByRecordZoneID:@{@"Zone":recordZoneID,@"FetchRecordZoneChangesOptions":option}];
Run Code Online (Sandbox Code Playgroud)
我需要这方面的帮助:
**@{@"Zone":recordZoneID,@"FetchRecordZoneChangesOptions":option}];**
Run Code Online (Sandbox Code Playgroud)