Pergunta

I'd like to create a custom image browser in my app that uses the images from the camera roll.

i.e. I'd like to completely replace UIImagePickerController and use my own control.

Is there a way of accessing the camera roll photos in this way?

Cluster App does this but I can't find a picture of it.

Foi útil?

Solução

You need to use ALAssetsLibrary to access the images.

Outras dicas

Have a look at the QBImagePickerController on the GitHub. They implemented custom image picker controller very similar to UIImagePickerController with added multiple selection feature. It will help you. Atleast look at this file

Check out RengarViewController

a custom image picker controller which make use of Photo Framework (introduced in iOS 8).

It has nice UI, can be scrolled and panned.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top