Type Method

deleteCollectionLists(_:)

Requests to delete the specified asset collections.

Declaration

class func deleteCollectionLists(_ collectionLists: NSFastEnumeration)

Parameters

collectionLists

An array of PHCollectionList objects to be deleted.

Discussion

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