ios - Get the latest ten photos from the library -
I need to get the latest 10 photos from the library and display them. How can I get the I tried Use the aliases! For example ... Update: 04/27/14 UIImage s with those pictures?
UIImagePickerController but I think this is not possible with it.
- (zero) Load ImageFind Index: (Asset Library with Index): (ALSATS Library * Library {{Library Enumerate Group Group Type: Elassus Group Block using the verified photo: ^ (Elassette Group * Group, Bold * Stop) {// Insert the group count to calculate your photos, to calculate. [Group SetAssetsFilter: [All PhotosFilter All Photos]]; // If the index is higher than the limit, then kill the method (index> <> index> [group number OFSets-1] {return;} // index [group enumerateAssetsIndex: [NSINXXSet indexSat with index: index ] Options: Use Log 0: Selects the tag on ^ (ALSst * Al Asset, NSUnitor Inde, BOL * InnStop) {// End of closing Asset = = Zero if (Alasset) {ALSETE Presentation * Copy (= NSError * error) {NSLog (@ "none") = [alesset default refraction]; UIImage * tempImage = [UIImage imageWithCGImage: [fullscreenized representation]]; // something with image;}];}} failureBlock: ^ { );}];}
Comments
Post a Comment