开发者

Accessing all photos in iphone photo library?

开发者 https://www.devze.com 2023-02-24 00:59 出处:网络
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.Call ALAssetsLibrary\'s -enum

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.


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.


USE ELCImagePickerController used to display more than one asset images.

0

精彩评论

暂无评论...
验证码 换一张
取 消