How to read all images from iphone photo library into application and how i would i get path of photo library??
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To read all images from iPhone photo library, use the “assets library framework”.
You can check out Apple’s documentation here:
http://developer.apple.com/library/ios/#documentation/AssetsLibrary/Reference/AssetsLibraryFramework/_index.html
There is a ALAssetsFilter called “allPhotos”, you can use the filter with the setAssetsFilter: and the enumerateAssetsUsingBlock: methods in ALAssetsGroup to achieve this.
Here is some sample code implementing this:
http://www.icodeblog.com/2010/07/08/asset-libraries-and-blocks-in-ios-4/