background image

name:UIDocumentStateChangedNotification object:nil];        ②

}

}

//文档冲突解决

- (void)resolveConflict:(NSNotification *)notification {

if (_myCloudDocument

&& _myCloudDocument.documentState == UIDocumentStateInConflict) { ③

NSLog(@”

冲突发生 );

//文档冲突解决策略

NSError *error;