How do I launch the iOS Photos app from another app? (Swift)

I have a video recorder app and I was wondering if it could be created button

that says "View Camera Roll" and when you click that button it will launch the Photos app on your phone.

I see a common use for something like this UIImagePickerController

in my actual app, which is close to what I want, but I don't want the user to select it for anything other than just viewing and viewing their photo. It would be much easier to have a link to the actual Photos app.

+3


source to share


2 answers


You cannot open the Default Photos app. On iOS, the app must register for URL schemes to be opened from other sources, and the default app for photos does not.



To read more about URL Scheme here is an Apple doc

+1


source


You can use photos-redirect://

to open the Photos app, but since it's undocumented, Apple might reject your app, and in the future you might have problems with it if it stops working.



+2


source







All Articles