UIView.SnapshotView(Boolean) UIView.SnapshotView(Boolean) Method


Creates a UIView that contains a snapshot image of the current view's contents.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIView SnapshotView (bool afterScreenUpdates);
abstract member SnapshotView : bool -> UIKit.UIView
override this.SnapshotView : bool -> UIKit.UIView


Boolean Boolean

Boolean that indicates whether the snapshot should be taken subsequent to recent changes being incorporated.


A new view object that is based upon a snapshot of the rendered contents of the current view.


This method is faster than rendering a view into a bitmap context. Application developers can use this method to create a visual proxy for their view before performing animations on a complex view hierarchy.

Applies to