Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PHFetchOptions *fetchOptions = [PHFetchOptions new];
- fetchOptions.predicate = [NSPredicate predicateWithFormat:@"(creationDate >= %@) && (creationDate <= %@)",startDateMinus24Hours,endDatePlus24Hours];
- _assetsFetchResults = [PHAsset fetchAssetsWithOptions:fetchOptions];
Add Comment
Please, Sign In to add comment