Search code examples
iosuiimagepickercontrolleralassetslibrary

Open UIImagePickerController to custom photo album?


My app writes to a custom photo album using ALAssetsLibrary. Is there a way to use UIImagePickerController to open to my custom album (and preferably only allow viewing of my album)?


Solution

  • Nope.

    This is another one of those annoying limitations with the built-in controls. If it were possible, some insanely smart person on GitHub would build me thing to allow it.

    Unfortunately, the UIImagePickerController is a private, system class, which doesn't really allow alteration.

    What you might do, though, is something like this:

    Pick an image

    This app stores its images in the 'Unicorn' album.

    Choose Image