UIView.ResizableSnapshotView(CGRect, Boolean, UIEdgeInsets) Method

Definition

Efficiently creates a rendering of this object's current appearance within .

[Foundation.Export("resizableSnapshotViewFromRect:afterScreenUpdates:withCapInsets:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIView ResizableSnapshotView (CoreGraphics.CGRect rect, bool afterScreenUpdates, UIKit.UIEdgeInsets capInsets);
abstract member ResizableSnapshotView : CoreGraphics.CGRect * bool * UIKit.UIEdgeInsets -> UIKit.UIView
override this.ResizableSnapshotView : CoreGraphics.CGRect * bool * UIKit.UIEdgeInsets -> UIKit.UIView

Parameters

rect
CGRect

The rectangle to capture.

afterScreenUpdates
Boolean

true if the capture should wait for pending redraws.

capInsets
UIEdgeInsets

The stretchable portion of the rendered content.

Returns

Attributes

Remarks

This method is efficient, but does not apply graphical effects such as screen blur. If such effects are needed, developers should use DrawViewHierarchy(CGRect, Boolean) instead.

Applies to