Share via


PHLivePhoto.RequestLivePhoto 方法

定义

[Foundation.Export("requestLivePhotoWithResourceFileURLs:placeholderImage:targetSize:contentMode:resultHandler:")]
public static int RequestLivePhoto (Foundation.NSUrl[] fileUrls, UIKit.UIImage image, CoreGraphics.CGSize targetSize, Photos.PHImageContentMode contentMode, Action<Photos.PHLivePhoto,Foundation.NSDictionary> resultHandler);
static member RequestLivePhoto : Foundation.NSUrl[] * UIKit.UIImage * CoreGraphics.CGSize * Photos.PHImageContentMode * Action<Photos.PHLivePhoto, Foundation.NSDictionary> -> int

参数

fileUrls
NSUrl[]
image
UIImage

内容待定。

此参数可以为 null

targetSize
CGSize
contentMode
PHImageContentMode

返回

属性

适用于