开发者

Access all the photos of user album in iphone using application

开发者 https://www.devze.com 2023-01-21 20:15 出处:网络
I am working on one application in which i need to show slide show of the user selected photo album, UIImagePickerController only returns the selected image. I want all previous and next images of the

I am working on one application in which i need to show slide show of the user selected photo album, UIImagePickerController only returns the selected image. I want all previous and next images of the selected image, is it possible with UIImagePickerController and if not is there开发者_运维问答 any other way that i can do it. Thanks in advance, Satish


You'll have to create a custom picker to select an album instead of an image. You'll want to use ALAssetLibrary to get a list of albums via enumerateGroupsWithTypes:usingBlock:failureBlock and then on the group call enumerateAssetsUsingBlock: to get the individual images.

0

精彩评论

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