---
title: stopCachingImagesForAllAssets()
framework: photos
role: symbol
role_heading: Instance Method
path: photos/phcachingimagemanager/stopcachingimagesforallassets()
---

# stopCachingImagesForAllAssets()

Cancels all image preparation that is currently in progress.

## Declaration

```swift
func stopCachingImagesForAllAssets()
```

## See Also

### Preparing Images

- [startCachingImages(for:targetSize:contentMode:options:)](photos/phcachingimagemanager/startcachingimages(for:targetsize:contentmode:options:).md)
- [stopCachingImages(for:targetSize:contentMode:options:)](photos/phcachingimagemanager/stopcachingimages(for:targetsize:contentmode:options:).md)
