Can
Can

Reputation: 556

Accessing all photos in iphone photo library?

Is it possible to get all photos in an array or something from iPhone photo library ? UIImagePickerController allows to choose only one picture at a time.

Upvotes: 1

Views: 1303

Answers (2)

Vipin
Vipin

Reputation: 4728

USE ELCImagePickerController used to display more than one asset images.

Upvotes: 1

Ole Begemann
Ole Begemann

Reputation: 135588

Call ALAssetsLibrary's -enumerateGroupsWithTypes:usingBlock:failureBlock: to enumerate one or more assets groups and then enumerate the assets (photos) in each groups with -[ALAssetGroup enumerateAssetsUsingBlock:]. The documentation has all the details.

Upvotes: 3

Related Questions