Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New UIImagePickerController feature on iOS11 #6

Closed
erkanyildiz opened this issue Dec 14, 2017 · 3 comments
Closed

New UIImagePickerController feature on iOS11 #6

erkanyildiz opened this issue Dec 14, 2017 · 3 comments

Comments

@erkanyildiz
Copy link

The native image picker built into iOS allows app developers to access the full image library, with all its metadata

On iOS11 this has changed.
UIImagePickerController runs as a separate process and does not require Photos permission at all. Only the assets user selects on UIImagePickerController gets delivered to the app, in a one-time read-only way.

https://developer.apple.com/videos/play/wwdc2017/505/

There should be separate permissions for

  • Selecting a photo (e.g. you want to upload an existing picture to a social network)
  • Granting full access to the photo library (e.g. Dropbox or Google Photos to backup your complete library)

The new behaviour on iOS11 is kind of what you (and we all :) ) want.
For Selecting a photo there is no permission at all, as I mentioned above.
From now on, Apple should enforce the use of UIImagePickerController instead of custom image picker UIs.

For Granting full access to the photo library, it still works as before.
So, an extra permission layer to access the metadata, as you suggested, would be good.

Thanks.

@KrauseFx
Copy link
Owner

That's awesome, thanks for letting me know 👍 I'll update the post accordingly

@KrauseFx
Copy link
Owner

Just pushed an update, thanks again 🚀 35e1b6e

@bjornfiles
Copy link

An app shouldn't need permissions to save photos from an app to your photo library (and if it does, it should be specifically just for that).

It's insanely irresponsible on Apple's part that iOS still works this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants