Contents

deleteAssets(_:)

Requests that the specified assets be deleted.

Declaration

class func deleteAssets(_ assets: any NSFastEnumeration)

Parameters

  • assets:

    An array of Phasset objects to be deleted.

Discussion

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