Class

PHImageRequestOptions

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

Symbols

Scheduling an Image Request

var isSynchronous: Bool

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

Specifying Image Request Options

var version: PHImageRequestOptionsVersion

The version of the image to be requested.

var deliveryMode: PHImageRequestOptionsDeliveryMode

The requested image quality and delivery priority.

var resizeMode: PHImageRequestOptionsResizeMode

A mode that specifies how to resize the requested image.

var normalizedCropRect: CGRect

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

Fetching Image Data from iCloud

var isNetworkAccessAllowed: Bool

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

var progressHandler: PHAssetImageProgressHandler?

A block that Photos calls periodically while downloading the image.

Constants

PHImageRequestOptionsVersion

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

PHImageRequestOptionsDeliveryMode

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

PHImageRequestOptionsResizeMode

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

PHAssetImageProgressHandler

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

Relationships

Inherits From