One Logo Pool Ball
Photos · IOS API REFERENCE

PHCachingImageManager

class · iOS 8.0+ · SDK 27.1

class PHCachingImageManager

Members (6)

init

init

TypeScript
static init(): PHCachingImageManager
Swift declaration
init()
method · iOS 8.0+

startCachingImages

TypeScript
startCachingImages(assets: Array<PHAsset>, targetSize: { width: number; height: number }, contentMode: PHImageContentMode, options?: (PHImageRequestOptions) | null): void
Swift declaration
func startCachingImages(for assets: [PHAsset], targetSize: CGSize, contentMode: PHImageContentMode, options: PHImageRequestOptions?)
method · iOS 8.0+

stopCachingImagesForAllAssets

TypeScript
stopCachingImagesForAllAssets(): void
Swift declaration
func stopCachingImagesForAllAssets()
method · iOS 8.0+

stopCachingImages

TypeScript
stopCachingImages(assets: Array<PHAsset>, targetSize: { width: number; height: number }, contentMode: PHImageContentMode, options?: (PHImageRequestOptions) | null): void
Swift declaration
func stopCachingImages(for assets: [PHAsset], targetSize: CGSize, contentMode: PHImageContentMode, options: PHImageRequestOptions?)
get · iOS 8.0+ · Deprecated in iOS 26.0

allowsCachingHighQualityImages

TypeScript
get allowsCachingHighQualityImages(): boolean
Swift declaration
var allowsCachingHighQualityImages: Bool { get set }
set · iOS 8.0+ · Deprecated in iOS 26.0

allowsCachingHighQualityImages

TypeScript
set allowsCachingHighQualityImages(value: boolean)
Swift declaration
var allowsCachingHighQualityImages: Bool { get set }

Skipped declarations

No declarations were skipped in this snapshot.

All Photos types →