iOS does not give you direct access to the on-disk photos database. If you want to access the user’s photos, use the Photos framework. If you have follow-up questions about that, you should post them to the Media > PhotoKit.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"