A set of options affecting the delivery of still image representations of Photos assets you request from an image manager.
SDKs
- iOS 8+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 10+
Framework
- Photos
Declaration
class PHImageRequestOptions : NSObject
A set of options affecting the delivery of still image representations of Photos assets you request from an image manager.
SDKs
Framework
class PHImageRequestOptions : NSObject
var is Synchronous: Bool
A Boolean value that determines whether Photos processes the image request synchronously.
var version: PHImage Request Options Version
The version of the image to be requested.
enum PHImage Request Options Version
Options for requesting an image asset with or without adjustments, used by the version
property.
var delivery Mode: PHImage Request Options Delivery Mode
The requested image quality and delivery priority.
enum PHImage Request Options Delivery Mode
Options for delivering requested image data, used by the delivery
property.
var resize Mode: PHImage Request Options Resize Mode
A mode that specifies how to resize the requested image.
enum PHImage Request Options Resize Mode
Options for how to resize the requested image to fit a target size, used by the resize
property.
var normalized Crop Rect: CGRect
A rectangle for requesting a cropped version of the original image.
var is Network Access Allowed: Bool
A Boolean value that specifies whether Photos can download the requested image from iCloud.
var progress Handler: PHAsset Image Progress Handler?
A block that Photos calls periodically while downloading the image.
typealias PHAsset Image Progress Handler
The signature for a block that Photos calls while downloading asset data from iCloud. Used by the progress
property.
Request image, video, or Live Photos content, and cache for quick reuse.
class PHImage Manager
An object that facilitates retrieving or generating preview thumbnails and asset data.
class PHCaching Image Manager
An object that facilitates retrieving or generating preview thumbnails, optimized for batch preloading large numbers of assets.
class PHVideo Request Options
A set of options affecting the delivery of video asset data that you request from an image manager.
class PHLive Photo Request Options
A set of options affecting the delivery of Live Photo assets you request from an image manager.