Compartir a través de


PHImageManager.RequestImageForAsset Método

Definición

[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

Parámetros

asset
PHAsset
targetSize
CGSize
contentMode
PHImageContentMode
options
PHImageRequestOptions

Se agregará.

Este parámetro puede ser null.

resultHandler
PHImageResultHandler

Devoluciones

Atributos

Se aplica a