QuizUp can access Photo library without permission - guess other apps can too

anyjungleinguy

macrumors 6502
Original poster
Mar 6, 2012
268
148
As title.

Downloaded QuizUp, ran through setup wizard, part of which was to chose a profile photo.

It displayed full camera roll and all photos without any given permission. As you can see in the screenshot of the Settings panel, Photos isn’t even listed to select Read/Write access.

I thought Apple was supposed to have system level restrictions on accessing Photos. I guess if QuizUp can bypass this, so can plenty of other apps.

C0FE44FB-CA65-4927-B988-BE952B282C68.jpeg
668D51F0-9CE1-4802-AA1C-1462DFB1D6DB.jpeg
 

anzio

macrumors 6502
Dec 5, 2010
406
550
Innisfil, Ontario, Canada
They’re just using a photo picker. As detailed here, apps don’t need explicit permission when showing a user his photo library, because it’s just iOS presenting the library to the user. The app only receives the photo you choose when you finally follow through. The app isn’t seeing your library at all, so it won’t request permission.

This is the behaviour as of iOS 11. It’s a sandboxed process now.

Note

When using the UIImagePickerController to bring up the user's photo library, your app doesn't need to request permission explicitly.
 

anyjungleinguy

macrumors 6502
Original poster
Mar 6, 2012
268
148
They’re just using a photo picker. As detailed here, apps don’t need explicit permission when showing a user his photo library, because it’s just iOS presenting the library to the user. The app only receives the photo you choose when you finally follow through. The app isn’t seeing your library at all, so it won’t request permission.

This is the behaviour as of iOS 11. It’s a sandboxed process now.
I never knew this, didn’t hear about the updated process.

Thank you!