void (^assetEnumerator)(struct ALAsset *, NSUInteger, BOOL *) = ^(ALAsset *result, NSUInteger index, BOOL *stop) {
How can I stop the assetEnumerator run loop?
Thanks.
Pretty much what the documentation says:
in the block do:
*stop = YES;
Then after you current "iteration", it'll cease to enumerate the assets.