Type Method

deleteAssetCollections:

Requests that the specified asset collections be deleted.

Declaration

+ (void)deleteAssetCollections:(id<NSFastEnumeration>)assetCollections;

Parameters

assetCollections

An array of PHAssetCollection objects to be deleted.

Discussion

Call this method within a photo library change block to delete asset collections. For details on change blocks, see PHPhotoLibrary.