-
-
Save sgoodwin/10171061 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSInteger assetCount = [group numberOfAssets]; | |
if(assetCount <= 0){ | |
return; | |
} | |
[group setAssetsFilter:[ALAssetsFilter allPhotos]]; | |
NSIndexSet *indexes = [NSIndexSet indexSetWithIndex:assetCount-1]; | |
// instead of this: | |
[group setAssetsFilter:[ALAssetsFilter allPhotos]]; | |
NSInteger assetCount = [group numberOfAssets]; | |
if(assetCount <= 0){ | |
return; | |
} | |
NSIndexSet *indexes = [NSIndexSet indexSetWithIndex:assetCount-1]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment