Language

UIView.Capture(Boolean) メソッド

定義

UIViewの画面キャプチャを実行します。

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

パラメーター

afterScreenUpdates
Boolean

true場合、キャプチャは画面の更新が完了した後に発生します。

戻り値

キャプチャされたビューのスナップショットを含む UIImage 。

注釈

この方法は、 SnapshotView(Boolean)よりも低速です。

適用対象