Photos and Files App Directory Path

Hi! I am developing Auto Backup Applicaiton with Flutter UI Framework, I successfully acheived my target with Android, but I'm not able to acheive on iOS. Kindly guide me, how can i fetch photos and files apps directory paths?

Replies

iOS does not give you direct access to the photos database; such access is mediated by the PhotoKit framework.

On the Files front, it’s a similar story. An app does not have direct access to the various file system hierarchies visible in that app. One option here is to use an API like UIDocumentPickerViewController to request that access, and then persist that access using a security-scoped bookmark.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"