I have some confusion about permission with using PHPickerViewController
& UIImagePickerController
.
Do I have to request permission for using it ? (Currently, I open it without request permission but It's working.)
Is it acceptable for upload to app store ? and if it acceptable when I have to request permission for photo?
Ps.
I use PHPickerViewController
for iOS14+ and UIImagePickerController
for <iOS13.
Thank you for every reply or answer.
First you need to know is, according to Apple's docs
The
PHPickerViewController
class is an alternative toUIImagePickerController
.PHPickerViewController
improves stability and reliability, and includes several benefits to developers and users
So both PHPickerViewController
and UIImagePickerController
are just the same with new upgrade.
As default, it runs in a separate process and on read-only access you don't need any special permissions for that.
And of course if you need some advance features, like retrieving assets and collections, or updating the library from your apps you must have permission for it.
You can read more from this link for permission to access some feature if need.