什么是UIDocumentBrowserViewController与UIDocumentpickerViewController之间的区别?

时间:2017-12-26 06:57:26

标签: ios

UIDocumentBrowserViewController和UIDocumentpickerViewController之间的区别是什么,现在到现在使用UIDocumentpickerViewController本身就足够了吗?

2 个答案:

答案 0 :(得分:1)

现在有很多旧问题,但与WWDC 2018 Session 216: Managing Documents In Your iOS App相比,它们指出主要区别在于 Document Picker用于快速的用户交互,而Document Browser是主要的文档浏览UI

Document Picker vs Document Browser

我建议观看会议(大约10分钟)以了解更多详细信息。

答案 1 :(得分:-2)

长话短说:

UIDocumentBrowserViewController非常类似于iPhone上的“文件”应用程序,它可以为您提供很多处理,例如iCloud同步和共享。 https://developer.apple.com/documentation/uikit/uidocumentbrowserviewcontroller

UIDocumentPickerViewController仅用于访问文件系统中的文件:https://developer.apple.com/documentation/uikit/uidocumentpickerviewcontroller

相关问题