Edit

Share via


UITextField.GetSelectionRects(UITextRange) Method

Definition

An array of UITextSelectionRects that frame the range.

[Foundation.Export("selectionRectsForRange:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UITextSelectionRect[] GetSelectionRects (UIKit.UITextRange range);
abstract member GetSelectionRects : UIKit.UITextRange -> UIKit.UITextSelectionRect[]
override this.GetSelectionRects : UIKit.UITextRange -> UIKit.UITextSelectionRect[]

Parameters

range
UITextRange

The UITextRange for which the selection rectangles are desired.

Returns

An array (possibly empty) of the UITextSelectionRects in the range.

Implements

Attributes

Applies to