Type Method

deleteAssetCollections(_:)

Requests that the specified asset collections be deleted.

Declaration

class func deleteAssetCollections(_ assetCollections: NSFastEnumeration)

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.