Contents

removeAssets(_:)

Removes the specified assets from the asset collection.

Declaration

func removeAssets(_ assets: any NSFastEnumeration)

Parameters

  • assets:

    An array of Phasset objects to be removed from the asset collection.

Discussion

This method removes assets from the collection based on their identity (determined by the localIdentifier property of each asset). To remove objects at specified indexes, use the removeAssets(at:) method.

See Also

Modifying Asset Collections