PHImageManager.RequestImageForAsset Method

Definition

[Foundation.Export("requestImageForAsset:targetSize:contentMode:options:resultHandler:")]
public virtual int RequestImageForAsset (Photos.PHAsset asset, CoreGraphics.CGSize targetSize, Photos.PHImageContentMode contentMode, Photos.PHImageRequestOptions options, Photos.PHImageResultHandler resultHandler);
abstract member RequestImageForAsset : Photos.PHAsset * CoreGraphics.CGSize * Photos.PHImageContentMode * Photos.PHImageRequestOptions * Photos.PHImageResultHandler -> int
override this.RequestImageForAsset : Photos.PHAsset * CoreGraphics.CGSize * Photos.PHImageContentMode * Photos.PHImageRequestOptions * Photos.PHImageResultHandler -> int

Parameters

asset
PHAsset
targetSize
CGSize
contentMode
PHImageContentMode
options
PHImageRequestOptions

To be added.

This parameter can be null.

resultHandler
PHImageResultHandler

Returns

Attributes

Applies to