daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PHFetchOptions *fetchOptions = [PHFetchOptions new];
  2. fetchOptions.predicate = [NSPredicate predicateWithFormat:@"(creationDate >= %@) && (creationDate <= %@)",startDateMinus24Hours,endDatePlus24Hours];
  3. _assetsFetchResults = [PHAsset fetchAssetsWithOptions:fetchOptions];
RAW Paste Data
Top