Cancels image preparation for the specified assets and options.
- iOS 8+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 10+
The array of specific
PHAssetobjects for which image preparation is in progress but is no longer needed.
The target size with which you requested image preparation.
The content mode with which you requested image preparation.
The options with which you requested image preparation.
This method cancels image preparation for the specified assets with the specified options. Use it when image preparation that might be in progress is no longer needed. For example, if you prepare images for a collection view filled with photo thumbnails and then the user chooses a different thumbnail size for your collection view, call this method to cancel generating thumbnail images at the old size.