Created
June 18, 2015 02:39
Revisions
-
Bayonetta created this gist
Jun 18, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ //To get photos from camera roll use ALAssetsGroupSavedPhotos while enumerating assets library: [library enumerateGroupsWithTypes:ALAssetsGroupSavedPhotos usingBlock:enumerate failureBlock:nil]; //To detect what group you currently get: if ([[group valueForProperty:@"ALAssetsGroupPropertyType"] intValue] == ALAssetsGroupSavedPhotos) { NSLog(@"Camera roll"); }