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

Syntax

[Foundation.Export("snapshotViewAfterScreenUpdates:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_7_0)]
public virtual UIView SnapshotView (bool afterScreenUpdates)

See Also

UIView.ResizableSnapshotView
UIView.DrawViewHierarchy

Parameters

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

Returns

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

Remarks

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.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0