Access photos from a specific album from the photo library

When using uiimagepicker, is there a way to indicate which user album should be selected from the images? Ill explain.Suppose, there are two albums created by the user on ipad.Let they will be called "friends" and "students" "Is there a way to indicate which of these albums should be available photos?" Or "How can I find out the name of the album to which the selected image belongs?

Can this be done using alsset methods? What I want to do is access photos from a specific synchronized album using their names. Is it possible. I mean, does iphone use its own naming conventions or are original image names preserved?

+7
source share
5 answers

You must use ALAssetsLibrary and create your own collector. You can find a custom image picker using ALAssetsLibrary at https://github.com/B-Sides/ELCImagePickerController

When a user selects an image from a custom picker, you return using the ALAsset object from which you can get the desired image, the album to which it belongs, etc. You can save this and change the custom selector to go to the selected album.

+2
source

If you want to present the media browser to the user (so that he can select an image), I think you can only select the entire photo library or Camera Roll album (or an album with saved photos if the device does not have a camera).

http://developer.apple.com/library/ios/#documentation/AudioVideo/Conceptual/CameraAndPhotoLib_TopicsForIOS/Articles/PickinganItemfromthePhotoLibrary.html#//apple_ref/doc/uid/TP40010408-SW1

EDIT

I found here on github the open source UIImagePickerController cloned by Jeena. Perhaps this should be useful for you.

0
source

I'm not sure, but pls take a look at ALAssetsLibrary

0
source

Give a path for a specific album and get images.

-one
source

hi in the folder: / Users / username / Library / Application Support / iPhone Simulator / 4.3 / Applications you can find your saved images. when saving the path, you can probably subtract the folder name. grtz

-3
source

All Articles