UITextField.GetSelectionRects(UITextRange) 方法

定义

UITextSelectionRect数组,该数组对 进行 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[]

参数

range
UITextRange

UITextRange需要选择矩形的 。

返回

数组 (中 可能为空的) UITextSelectionRectrange

实现

属性

适用于