Instance Method

removeAssets:

Removes the specified assets from the asset collection.

Declaration

- (void)removeAssets:(id<NSFastEnumeration>)assets;

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 removeAssetsAtIndexes: method.

See Also

Modifying Asset Collections

+ changeRequestForAssetCollection:

Creates a request for modifying the specified asset collection.

+ changeRequestForAssetCollection:assets:

Creates a request for modifying the specified asset collection, with a fetch result for tracking changes.

title

The displayed name of the asset collection.

- addAssets:

Add the specified assets to the asset collection.

- insertAssets:atIndexes:

Inserts the specified assets into the collection at the specified indexes.

- removeAssetsAtIndexes:

Removes the assets at the specified indexes from the asset collection.

- replaceAssetsAtIndexes:withAssets:

Replaces the assets at the specified indexes in the asset collection with the specified assets.

- moveAssetsAtIndexes:toIndex:

Moves the assets at the specified indexes in the asset collection to a new index.