Condividi tramite


PHImageManager.RequestImageForAsset Metodo

Definizione

[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

Parametri

asset
PHAsset
targetSize
CGSize
contentMode
PHImageContentMode
options
PHImageRequestOptions

Da aggiungere.

Questo parametro può essere null.

resultHandler
PHImageResultHandler

Restituisce

Attributi

Si applica a