With the introduction of the Files app in iOS 13, you are now able to access all the files that you’ve stored in your iCloud Drive, Google Drive, Drop box and more. This paved the way for more Document-based apps such as text and image editors.
随着iOS 13中“文件”应用程序的引入,您现在可以访问存储在iCloud Drive,Google Drive,Drop框等中的所有文件。 这为更多基于文档的应用程序(例如文本和图像编辑器)铺平了道路。
For a piece of code I was working on, I needed to give the user the ability to select PNG images from their Files that they then manipulate within the my app.
对于我正在处理的一段代码,我需要使用户能够从其文件中选择PNG图像,然后由他们在我的应用程序中进行操作。
I used UIDocumentPickerViewController to enable this feature. It supports four modes for working with external