Class

PHImageRequestOptions

A set of options affecting the delivery of still image representations of Photos assets you request from an image manager.

Declaration

@interface PHImageRequestOptions : NSObject

Topics

Scheduling an Image Request

synchronous

A Boolean value that determines whether Photos processes the image request synchronously.

Specifying Image Request Options

version

The version of the image to be requested.

PHImageRequestOptionsVersion

Options for requesting an image asset with or without adjustments, used by the version property.

deliveryMode

The requested image quality and delivery priority.

PHImageRequestOptionsDeliveryMode

Options for delivering requested image data, used by the deliveryMode property.

resizeMode

A mode that specifies how to resize the requested image.

PHImageRequestOptionsResizeMode

Options for how to resize the requested image to fit a target size, used by the resizeMode property.

normalizedCropRect

A rectangle for requesting a cropped version of the original image.

Fetching Image Data from iCloud

networkAccessAllowed

A Boolean value that specifies whether Photos can download the requested image from iCloud.

progressHandler

A block that Photos calls periodically while downloading the image.

PHAssetImageProgressHandler

The signature for a block that Photos calls while downloading asset data from iCloud. Used by the progressHandler property.

Relationships

Inherits From

Conforms To

See Also

Asset Loading

Loading and Caching Assets and Thumbnails

Request image, video, or Live Photos content, and cache for quick reuse.

PHImageManager

An object that facilitates retrieving or generating preview thumbnails and asset data.

PHCachingImageManager

An object that facilitates retrieving or generating preview thumbnails, optimized for batch preloading large numbers of assets.

PHVideoRequestOptions

A set of options affecting the delivery of video asset data that you request from an image manager.

PHLivePhotoRequestOptions

A set of options affecting the delivery of Live Photo assets you request from an image manager.