Type Method

deleteAssets:

Requests that the specified assets be deleted.

Declaration

+ (void)deleteAssets:(id<NSFastEnumeration>)assets;

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.