Edit

Bagikan melalui


UIView.DrawViewHierarchy(CGRect, Boolean) Method

Definition

Renders the complete view hierarchy visible on screen.

[Foundation.Export("drawViewHierarchyInRect:afterScreenUpdates:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool DrawViewHierarchy (CoreGraphics.CGRect rect, bool afterScreenUpdates);
abstract member DrawViewHierarchy : CoreGraphics.CGRect * bool -> bool
override this.DrawViewHierarchy : CoreGraphics.CGRect * bool -> bool

Parameters

rect
CGRect
afterScreenUpdates
Boolean

Returns

true if the rendering succeeded.

Attributes

Applies to