UIKit.UIView.DrawViewHierarchy Method
Renders the view hierarchy (slower than UIView.SnapshotView).

Syntax

[Foundation.Export("drawViewHierarchyInRect:afterScreenUpdates:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_7_0)]
public virtual bool DrawViewHierarchy (bool afterScreenUpdates, CoreGraphics.CGRect rect)

Parameters

rect
Bounding rectangle.
afterScreenUpdates
Returns a Boolean that indicates whether a snapshot is to be rendered after the most recent changes have been incorporated. Specify NO to render the snapshot in the view hierarchy’s current state, which may or may not include recent changes.

Returns

false if the snapshot is incomplete.

Remarks

This method is not as fast as UIView.SnapshotView, but allows for effects (image filers, blurs, etc.).

Requirements

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