Sdílet prostřednictvím


UITextInput_Extensions.GetSelectionAffinity(IUITextInput) Method

Definition

A value that controls whether the cursor is displayed at the start of the last line or end of the second-to-last line of a multiline selection.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UITextStorageDirection GetSelectionAffinity(this UIKit.IUITextInput This);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetSelectionAffinity : UIKit.IUITextInput -> UIKit.UITextStorageDirection

Parameters

Returns

Attributes

Applies to