top of page

Getting files from the users device

This post showcases the ability to search through the user's device for files, in this case, specifically PDFs. This same principle can be used to select images or other types of files from the user's device just by changing a few lines of code. The code begins by adding an @objc function with UIDocumentPicker to the blank image so that when it is interacted with, the code asks the user permission to browse the users documents. From there the user can see what files they have on their device (or devices if you have multiple devices connected to each other).







13 views0 comments

Recent Posts

See All

Comments


bottom of page