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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software