Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ALAssetsGroup *group;
[group setAssetsFilter:onlyPhotosFilter];
NSInteger lastPhotoIndex = [group numberOfAssets];
NSMutableIndexSet* photoIndexes = [[NSMutableIndexSet alloc] init];
[photoIndexes addIndex:lastPhotoIndex-1];
[group enumerateAssetsAtIndexes:photoIndexes options:nil usingBlock:assetsEnumerationBlock];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment