语言

UIView.Capture(Boolean) 方法

定义

执行屏幕 UIView捕获 。

public UIKit.UIImage Capture(bool afterScreenUpdates = true);
member this.Capture : bool -> UIKit.UIImage

参数

afterScreenUpdates
Boolean

如果 true捕获在屏幕更新完成后发生。

返回

UIImage包含视图的捕获快照。

注解

此方法的速度比 SnapshotView(Boolean).

适用于