ALAssetsLibrary* libraryFolder = [[ALAssetsLibrary alloc] init]; [libraryFolder addAssetsGroupAlbumWithName:@"My Album" resultBlock:^(ALAssetsGroup *group) { NSLog(@"Adding Folder:'My Album', success: %s", group.editable ? "Success" : "Already created: Not Success"); } failureBlock:^(NSError *error) { NSLog(@"Error: Adding on Folder"); }];
Pretty easy, right? If you find it helpful, please subscribe. Cheers!
Post a Comment