Skip to content

New UIImagePickerController feature on iOS11 #6

Closed

Description

@erkanyildiz

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.

Activity

  1. KrauseFx commented on Dec 14, 2017

    @KrauseFx
    Owner

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

  2. KrauseFx commented on Dec 14, 2017

    @KrauseFx
    Owner

    Just pushed an update, thanks again 🚀 35e1b6e

  3. bjornworldwide commented on Jan 4, 2019

    @bjornworldwide

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions