Question: I am developing an app which allows you to select photos and place them into different positions. The workflow is basically:

1. Tap an area of the screen
2. `UIImagePickerController` displays
3. Select a photo
4. Photo displays in the tapped area of the screen

I would like it so that if the user goes through this workflow for a second time, the `UIImagePickerController` when displayed will be showing the same album, and position within that album, that the user was last at.

I've tried saving a reference to the `UIImagePickerController`, as well as the `UIPopoverController`, so that they are created only once. However, every time I present the popover containing the `UIImagePickerController`, it is back at the main photos menu (eg. Camera Roll, Photo Library, My Photo Stream).

Any ideas for how to achieve what I'm after?

Answer: 
You can use [ALAssetsLibrary](https://developer.apple.com/library/ios/#documentation/AssetsLibrary/Reference/ALAssetsLibrary_Class/Reference/Reference.html) . But this will cost you more effort. First time use `– enumerateGroupsWithTypes:usingBlock:failureBlock:` to list all album and remember user's choice. And at second time. Just use that album:`ALAssetsGroup`'s `– enumerateAssetsUsingBlock:` to list all the images and videos. Apple has a few demo you can have a look [PhotosByLocation](https://developer.apple.com/library/ios/#samplecode/PhotosByLocation/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010136) [MyImagePicker](https://developer.apple.com/library/ios/#samplecode/MyImagePicker/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010135)
Use AlAssetsLibrary. It control the image & video capture under the application. there a demo on apple. 

<https://developer.apple.com/library/ios/#documentation/AssetsLibrary/Reference/ALAssetsLibrary_Class/Reference/Reference.html> 

look for this or 

if you want to make a cutomize album for the image and video here a great example.

<https://github.com/Kjuly/ALAssetsLibrary-CustomPhotoAlbum>