Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/113.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
2020年,如何跨设备(macOS、iOS)同步基于文档的应用程序_Ios_Macos_Cloud_Nspersistentdocument - Fatal编程技术网

2020年,如何跨设备(macOS、iOS)同步基于文档的应用程序

2020年,如何跨设备(macOS、iOS)同步基于文档的应用程序,ios,macos,cloud,nspersistentdocument,Ios,Macos,Cloud,Nspersistentdocument,假设一个macOS应用程序使用NSPersistentDocument(即CoreData)。所有用户数据都存储在文件中。 2020年,如果我要开发应用程序的iOS版本,我如何向用户提供在macOS和iOS之间同步这些文档的功能 根据我的研究,使用CloudKit似乎不是基于文档的应用程序的发展方向 谢谢 检查一下:您可以在iOS上使用UIManagedDocument,在macOS上必须实现一些额外的协调逻辑。或者,切换到Catalyst,在任何地方使用UIManagedDocument。谢谢

假设一个macOS应用程序使用NSPersistentDocument(即CoreData)。所有用户数据都存储在
文件中。 2020年,如果我要开发应用程序的iOS版本,我如何向用户提供在macOS和iOS之间同步这些文档的功能

根据我的研究,使用CloudKit似乎不是基于文档的应用程序的发展方向


谢谢

检查一下:您可以在iOS上使用
UIManagedDocument
,在macOS上必须实现一些额外的协调逻辑。或者,切换到Catalyst,在任何地方使用
UIManagedDocument
。谢谢大家。苹果不应该提供关于这方面的文档吗?我不敢相信这个用例如此奇特。