语言

UITextField 类

定义

[Foundation.Register("UITextField", true)]
public class UITextField : UIKit.UIControl, IDisposable, UIKit.IUIContentSizeCategoryAdjusting, UIKit.IUILetterformAwareAdjusting, UIKit.IUITextDraggable, UIKit.IUITextDroppable
[Foundation.Register("UITextField", true)]
public class UITextField : UIKit.UIControl, IDisposable, UIKit.IUIContentSizeCategoryAdjusting, UIKit.IUILetterformAwareAdjusting, UIKit.IUITextInput
[<Foundation.Register("UITextField", true)>]
type UITextField = class
    inherit UIControl
    interface IUITextInputTraits
    interface INativeObject
    interface IDisposable
    interface IUIContentSizeCategoryAdjusting
    interface IUIKeyInput
    interface IUILetterformAwareAdjusting
    interface IUIPasteConfigurationSupporting
    interface IUITextDraggable
    interface IUITextInput
    interface IUITextDroppable
    interface IUITextPasteConfigurationSupporting
[<Foundation.Register("UITextField", true)>]
type UITextField = class
    inherit UIControl
    interface IUITextInputTraits
    interface INativeObject
    interface IDisposable
    interface IUIContentSizeCategoryAdjusting
    interface IUIKeyInput
    interface IUILetterformAwareAdjusting
    interface IUITextInput
继承
派生
特性
实现

构造函数

名称 说明
UITextField()

UITextField使用默认值创建新项。

UITextField(CGRect)
UITextField(NativeHandle)

创建非托管对象的托管表示形式时使用的构造函数。 由运行时调用。

UITextField(NSCoder)

一个构造函数,用于从存储在 unarchiver 对象中的数据初始化对象。

UITextField(NSObjectFlag)

要调用派生类的构造函数,以跳过初始化,并仅分配对象。

属性

名称 说明
AccessibilityActivationPoint (继承自 UIView)
AccessibilityAssistiveTechnologyFocusedIdentifiers (继承自 UIResponder)
AccessibilityAttributedHint (继承自 UIView)
AccessibilityAttributedLabel (继承自 UIView)
AccessibilityAttributedUserInputLabels (继承自 UIView)
AccessibilityAttributedValue (继承自 UIView)
AccessibilityCustomActions (继承自 UIResponder)
AccessibilityDirectTouchOptions (继承自 UIView)
AccessibilityDragSourceDescriptors (继承自 UIResponder)
AccessibilityDropPointDescriptors (继承自 UIResponder)
AccessibilityElementsHidden (继承自 UIView)
AccessibilityExpandedStatus (继承自 UIView)
AccessibilityFrame (继承自 UIView)
AccessibilityHeaderElements (继承自 UIView)
AccessibilityHint (继承自 UIView)
AccessibilityIdentifier

为了辅助功能,唯一标识 this 。

(继承自 UIView)
AccessibilityIgnoresInvertColors (继承自 UIView)
AccessibilityLabel (继承自 UIView)
AccessibilityLanguage (继承自 UIView)
AccessibilityNavigationStyle (继承自 UIView)
AccessibilityPath (继承自 UIView)
AccessibilityRespondsToUserInteraction (继承自 UIView)
AccessibilityTextualContext (继承自 UIView)
AccessibilityTraits (继承自 UIView)
AccessibilityUserInputLabels (继承自 UIView)
AccessibilityValue (继承自 UIView)
AccessibilityViewIsModal (继承自 UIView)
ActivityItemsConfiguration (继承自 UIResponder)
AdjustsFontForContentSizeCategory
AdjustsFontSizeToFitWidth
AlignmentRectInsets (继承自 UIView)
AllControlEvents (继承自 UIControl)
AllowedWritingToolsResultOptions
AllowsEditingTextAttributes
AllowsNumberPadPopover
AllTargets (继承自 UIControl)
Alpha (继承自 UIView)
AnchorPoint (继承自 UIView)
Appearance

返回此类的 UIAppearance 类的强类型属性。

AppliedContentSizeCategoryLimitsDescription (继承自 UIView)
AttributedPlaceholder
AttributedText
AutocapitalizationType

UITextAutocapitalizationType由 .IUITextInput.

AutocorrectionType

UITextAutocorrectionType由 .IUITextInput.

AutoresizingMask (继承自 UIView)
AutosizesSubviews (继承自 UIView)
Background
BackgroundColor

用于背景的颜色。

(继承自 UIView)
BeginningOfDocument

指示文档开头的文本的位置。

BorderStyle
BottomAnchor (继承自 UIView)
Bounds (继承自 UIView)
CanBecomeFirstResponder (继承自 UIResponder)
CanBecomeFocused (继承自 UIView)
CanResignFirstResponder (继承自 UIResponder)
Center (继承自 UIView)
CenterXAnchor (继承自 UIView)
CenterYAnchor (继承自 UIView)
Class (继承自 NSObject)
ClassHandle

此类的 Objective-C 类句柄。

ClearButtonMode
ClearsContextBeforeDrawing (继承自 UIView)
ClearsOnBeginEditing
ClearsOnInsertion
ClipsToBounds (继承自 UIView)
CollisionBoundingPath

返回用于碰撞检测的封闭路径。

(继承自 UIView)
CollisionBoundsType

返回一个值,该值指示如何指定冲突边界。

(继承自 UIView)
Constraints (继承自 UIView)
ContentMode (继承自 UIView)
ContentScaleFactor (继承自 UIView)
ContentStretch (继承自 UIView)
ContextMenuInteraction (继承自 UIControl)
ContextMenuInteractionEnabled (继承自 UIControl)
ConversationContext
CoordinateSpace

获取坐标空间实现。

(继承自 UIView)
CornerConfiguration (继承自 UIView)
CurrentInputModeDidChangeNotification

CurrentInputModeDidChange 的通知常量

DebugDescription (继承自 NSObject)
Delegate

充当类委托的 UIKit.IUITextFieldDelegate 模型类的实例。

Description (继承自 NSObject)
DidEndEditingReasonKey
DirectionalLayoutMargins (继承自 UIView)
DisabledBackground
Editable
EditingInteractionConfiguration (继承自 UIResponder)
EffectiveContentHorizontalAlignment (继承自 UIControl)
EffectiveUserInterfaceLayoutDirection (继承自 UIView)
Enabled

是否启用此 UIControl。

(继承自 UIControl)
EnablesReturnKeyAutomatically

是否自动启用返回密钥。

EndOfDocument

指示文档开头的文本的位置。

ExclusiveTouch

将事件传送限制为此视图。

(继承自 UIView)
FirstBaselineAnchor (继承自 UIView)
Focused

UIView是否为重点视图。

(继承自 UIView)
FocusEffect (继承自 UIView)
FocusGroupIdentifier (继承自 UIView)
FocusGroupPriority (继承自 UIView)
FocusItemContainer

获取用于管理子焦点项的焦点信息的容器。

(继承自 UIView)
FocusItemDeferralMode (继承自 UIView)
Font
Frame (继承自 UIView)
GestureRecognizers (继承自 UIView)
GrammarCheckingType
Handle

处理(指针)到非托管对象表示形式。

(继承自 NSObject)
HasAmbiguousLayout (继承自 UIView)
HasText

获取一个值,该值指示键输入中是否有文本。

HeightAnchor (继承自 UIView)
Hidden

指定是否 UIView 显示。

(继承自 UIView)
Highlighted

是否突出显示此 UIControl。

(继承自 UIControl)
HorizontalAlignment (继承自 UIControl)
HoverStyle (继承自 UIView)
InlinePredictionType
InputAccessoryView
InputAccessoryViewController (继承自 UIResponder)
InputAssistantItem (继承自 UIResponder)
InputDelegate

此 UITextField对象的输入委托对象。

InputView
InputViewController (继承自 UIResponder)
InsetsLayoutMarginsFromSafeArea (继承自 UIView)
Interactions (继承自 UIView)
InteractionState
IntrinsicContentSize (继承自 UIView)
IsAccessibilityElement (继承自 UIView)
IsDirectBinding

获取或设置一个值,该值指示此实例是否使用直接 Objective-C 绑定。

(继承自 NSObject)
IsEditing

一个值,该值指示用户是否正在编辑视图中的文本。 Read-only.

IsFirstResponder (继承自 UIResponder)
IsProxy (继承自 NSObject)
IsTransparentFocusItem (继承自 UIView)
KeyboardAppearance

UIKeyboardAppearance所使用的IUITextInput

KeyboardLayoutGuide (继承自 UIView)
KeyboardType

UIKeyboardType由 .IUITextInput.

KeyCommands (继承自 UIResponder)
LargeContentImage (继承自 UIView)
LargeContentImageInsets (继承自 UIView)
LargeContentTitle (继承自 UIView)
LastBaselineAnchor (继承自 UIView)
Layer (继承自 UIView)
LayoutGuides (继承自 UIView)
LayoutMargins (继承自 UIView)
LayoutMarginsGuide (继承自 UIView)
LeadingAnchor (继承自 UIView)
LeftAnchor (继承自 UIView)
LeftView
LeftViewMode
MarkedTextRange

给定文档中当前标记的文本范围。

MarkedTextStyle

描述如何绘制文本的属性字典。

MaskView (继承自 UIView)
MathExpressionCompletionType
MaximumContentSizeCategory (继承自 UIView)
MinimumContentSizeCategory (继承自 UIView)
MinimumFontSize
MotionEffects (继承自 UIView)
MultipleTouchEnabled

控制 UIView 是否可以处理多点触控事件。

(继承自 UIView)
NextResponder (继承自 UIResponder)
Opaque

确定视图是否不透明。

(继承自 UIView)
OverrideUserInterfaceStyle (继承自 UIView)
ParentFocusEnvironment

获取父焦点环境。

(继承自 UIView)
PasswordRules

密码输入规则。

PasteConfiguration

对象 UIPasteConfiguration 支持 this 的对象。

PasteDelegate

获取用于处理文本粘贴和删除文本的委托。

Placeholder
PreferredFocusedView

如果不是 null,则表示应默认接收焦点的子级 UIView 。

(继承自 UIView)
PreferredFocusEnvironments

获取按优先级排序的焦点环境列表,环境在更新焦点时首选。

(继承自 UIView)
PreservesSuperviewLayoutMargins (继承自 UIView)
ReadableContentGuide (继承自 UIView)
RestorationIdentifier (继承自 UIView)
RetainCount (继承自 NSObject)
ReturnKeyType

返回键的形式 IUITextInput。

RightAnchor (继承自 UIView)
RightView
RightViewMode
SafeAreaInsets (继承自 UIView)
SafeAreaLayoutGuide (继承自 UIView)
ScalesLargeContentImage (继承自 UIView)
SecureTextEntry

是否应隐藏输入的文本。

Selected

是否选择此 UIControl。

(继承自 UIControl)
SelectedTextRange

文档所选文本的范围。

SelectionAffinity

一个值,该值控制游标是显示在最后一行的开头还是多行选择的第二行的末尾。

Self (继承自 NSObject)
SemanticContentAttribute (继承自 UIView)
ShouldBeginEditing

当文本字段想知道是否应开始编辑时引发。

ShouldChangeCharacters

当文本字段想要知道文本字段中的文本是否应更改时引发。

ShouldChangeCharactersInRanges

当文本字段想要知道文本字段中的文本是否应为多个区域更改时引发。

ShouldClear

当文本字段想要知道是否应清除文本字段中的文本时引发。

ShouldEndEditing

当文本字段想要知道编辑是否应结束时引发。

ShouldGroupAccessibilityChildren (继承自 UIView)
ShouldReturn

当按下“返回”键时引发,文本字段想知道它是否应处理此键按下,或者是否应使用默认行为。

ShowsLargeContentViewer (继承自 UIView)
ShowsMenuAsPrimaryAction (继承自 UIControl)
SizingRule
SmartDashesType

智能短划线样式。

SmartInsertDeleteType

智能插入样式。

SmartQuotesType

智能引号样式。

SpellCheckingType

获取或设置一个值,该值指示拼写检查是打开、关闭还是仅在启用自动完成时(默认值)才启用拼写检查。

State (继承自 UIControl)
Subviews (继承自 UIView)
Superclass (继承自 NSObject)
SuperHandle
已过时.

用于表示此 NSObject基类中方法的句柄。

(继承自 NSObject)
Superview (继承自 UIView)
SupportsAdaptiveImageGlyph
SymbolAnimationEnabled (继承自 UIControl)
Tag (继承自 UIView)
Text
TextAlignment
TextBackgroundColorKey

开发人员不应使用此已弃用的属性。 开发人员应使用“NSAttributedString.BackgroundColorAttributeName”。

TextColor
TextColorKey

该属性保存的键应用于从 a . NSDictionary中检索文本颜色的值。

TextContentType

预期输入的语义,允许系统提供自定义键盘。

TextDidBeginEditingNotification

TextDidBeginEditing 的通知常量

TextDidEndEditingNotification

TextDidEndEditing 的通知常量

TextDragActive

获取一个布尔值,该值指示拖动会话是否对文本视图处于活动状态。

TextDragDelegate

获取或设置用于管理拖动源行为的委托。

TextDragInteraction

获取文本视图上的拖动交互。

TextDragOptions

获取一个值,该值控制如何在拖动的文本中显示格式。

TextDropActive

获取一个布尔值,该值指示视图中是否存在活动文本删除会话。

TextDropDelegate

获取或设置用于管理文本删除行为的委托。

TextDropInteraction

获取文本视图上的放置交互。

TextFieldTextDidChangeNotification

TextFieldTextDidChange 的通知常量

TextFontKey

该属性保存的键应用于从 a . NSDictionary中检索文本的字体值。

TextInputContextIdentifier (继承自 UIResponder)
TextInputMode (继承自 UIResponder)
TextInputView

返回输入视图,该视图为文本输入中的几何运算提供坐标系。

TintAdjustmentMode (继承自 UIView)
TintColor

用于着色的颜色。

(继承自 UIView)
Tokenizer

此属性提供有关用于将文本分解为字符、字词、行和段落等单元的 tokenizer 的信息。

ToolTip (继承自 UIControl)
ToolTipInteraction (继承自 UIControl)
TopAnchor (继承自 UIView)
TouchBar (继承自 UIResponder)
TouchInside

触摸是否在此 UIControl 中。 Read-only.

(继承自 UIControl)
Tracking

此 UIControl 是否跟踪与事件相关的触摸。 Read-only.

(继承自 UIControl)
TrailingAnchor (继承自 UIView)
TraitCollection

获取描述环境的特征集合。

(继承自 UIView)
TraitOverrides (继承自 UIView)
Transform (继承自 UIView)
Transform3D (继承自 UIView)
TranslatesAutoresizingMaskIntoConstraints (继承自 UIView)
TypingAttributes
UndoManager (继承自 UIResponder)
UnobscuredContentRect
UserActivity (继承自 UIResponder)
UserInteractionEnabled

确定此视图是否处理输入事件。

(继承自 UIView)
VerticalAlignment (继承自 UIControl)
ViewForBaselineLayout (继承自 UIView)
ViewForFirstBaselineLayout (继承自 UIView)
ViewForLastBaselineLayout (继承自 UIView)
ViewPrintFormatter (继承自 UIView)
WeakDefaultTextAttributes
WeakDelegate
WeakInputDelegate

指示弱输入委托。

WeakTokenizer

指示弱标记器。

WidthAnchor (继承自 UIView)
Window (继承自 UIView)
WritingToolsBehavior
Zone (继承自 NSObject)

方法

名称 说明
AccessibilityActivate() (继承自 UIView)
AccessibilityDecrement() (继承自 UIResponder)
AccessibilityElementDidBecomeFocused() (继承自 UIResponder)
AccessibilityElementDidLoseFocus() (继承自 UIResponder)
AccessibilityElementIsFocused() (继承自 UIResponder)
AccessibilityIncrement() (继承自 UIResponder)
AccessibilityPerformEscape() (继承自 UIResponder)
AccessibilityPerformMagicTap() (继承自 UIResponder)
AccessibilityScroll(UIAccessibilityScrollDirection) (继承自 UIResponder)
ActionForLayer(CALayer, String) (继承自 UIView)
Add(UIView)

这是一 AddSubview(UIView)个别名,但使用 Add 模式,因为它允许 C# 3.0 构造在创建对象后添加子视图。

(继承自 UIView)
AddAction(UIAction, UIControlEvent) (继承自 UIControl)
AddConstraint(NSLayoutConstraint) (继承自 UIView)
AddConstraints(NSLayoutConstraint[]) (继承自 UIView)
AddGestureRecognizer(UIGestureRecognizer) (继承自 UIView)
AddInteraction(IUIInteraction) (继承自 UIView)
AddLayoutGuide(UILayoutGuide) (继承自 UIView)
AddMotionEffect(UIMotionEffect) (继承自 UIView)
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr) (继承自 NSObject)
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr) (继承自 NSObject)
AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>)

注册对象以使用任意方法在外部观察。

(继承自 NSObject)
AddObserver(String, NSKeyValueObservingOptions, Action<NSObservedChange>)

注册对象以使用任意方法在外部观察。

(继承自 NSObject)
AddSubview(UIView) (继承自 UIView)
AddSubviews(UIView[])

将各种视图添加到 UIView 的便利例程。

(继承自 UIView)
AddTarget(EventHandler, UIControlEvent)

为指定的事件集添加事件处理程序。

(继承自 UIControl)
AddTarget(NSObject, Selector, UIControlEvent) (继承自 UIControl)
AlignCenter(NSObject) (继承自 UIResponder)
AlignJustified(NSObject) (继承自 UIResponder)
AlignLeft(NSObject) (继承自 UIResponder)
AlignmentRectForFrame(CGRect) (继承自 UIView)
AlignRight(NSObject) (继承自 UIResponder)
AppearanceWhenContainedIn(Type[])

当视图托管在指定的层次结构中时,返回此类实例的强类型 UIAppearance 。

AwakeFromNib() (继承自 NSObject)
BecomeFirstResponder() (继承自 UIResponder)
BeginFloatingCursor(CGPoint)

开始在指定的 point位置显示浮动光标。

BeginInvokeOnMainThread(Action)

在主 UI 线程上异步调用指定的操作。

(继承自 NSObject)
BeginInvokeOnMainThread(Selector, NSObject)

在主 UI 线程上异步调用指定的代码。

(继承自 NSObject)
BeginTracking(UITouch, UIEvent) (继承自 UIControl)
BorderRect(CGRect)
BringSubviewToFront(UIView) (继承自 UIView)
BuildMenu(IUIMenuBuilder) (继承自 UIResponder)
CancelTracking(UIEvent) (继承自 UIControl)
CanPaste(NSItemProvider[])

如果响应者可以从指定的项提供程序粘贴,则返回 true 。

CanPerform(Selector, NSObject) (继承自 UIResponder)
Capture(Boolean)

执行屏幕 UIView捕获 。

(继承自 UIView)
CaptureTextFromCamera(NSObject) (继承自 UIResponder)
ClearButtonRect(CGRect)
ComparePosition(UITextPosition, UITextPosition)

获取一个位置与另一个位置的比较。

ConformsToProtocol(NativeHandle) (继承自 NSObject)
ContentCompressionResistancePriority(UILayoutConstraintAxis) (继承自 UIView)
ContentHuggingPriority(UILayoutConstraintAxis) (继承自 UIView)
ContinueTracking(UITouch, UIEvent) (继承自 UIControl)
ConvertPointFromCoordinateSpace(CGPoint, IUICoordinateSpace) (继承自 UIView)
ConvertPointFromView(CGPoint, UIView) (继承自 UIView)
ConvertPointToCoordinateSpace(CGPoint, IUICoordinateSpace) (继承自 UIView)
ConvertPointToView(CGPoint, UIView) (继承自 UIView)
ConvertRectFromCoordinateSpace(CGRect, IUICoordinateSpace) (继承自 UIView)
ConvertRectFromView(CGRect, UIView) (继承自 UIView)
ConvertRectToCoordinateSpace(CGRect, IUICoordinateSpace) (继承自 UIView)
ConvertRectToView(CGRect, UIView) (继承自 UIView)
Copy() (继承自 NSObject)
Copy(NSObject) (继承自 UIResponder)
CreateTouchBar() (继承自 UIResponder)
Cut(NSObject) (继承自 UIResponder)
DangerousAutorelease()

对此对象调用“autorelease”选择器。

(继承自 NSObject)
DangerousRelease()

对此对象调用“release”选择器。

(继承自 NSObject)
DangerousRetain()

对此对象调用“保留”选择器。

(继承自 NSObject)
DecodeRestorableState(NSCoder) (继承自 UIView)
DecreaseSize(NSObject) (继承自 UIResponder)
Delete(NSObject) (继承自 UIResponder)
DeleteBackward()
DictationRecognitionFailed()

听写的识别失败。

DictationRecordingDidEnd()

听写记录已结束。

DidChange(NSKeyValueChange, NSIndexSet, NSString) (继承自 NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) (继承自 NSObject)
DidChangeValue(String) (继承自 NSObject)
DidDismissWritingTools()
DidHintFocusMovement(UIFocusMovementHint)

当焦点更改可能很快发生时调用。

(继承自 UIView)
DidUpdateFocus(UIFocusUpdateContext, UIFocusAnimationCoordinator)

焦点更改为新的 UIView委托方法后不久调用。

(继承自 UIView)
DisplayLayer(CALayer) (继承自 UIView)
Dispose()

释放对象使用 NSObject 的资源。

(继承自 NSObject)
Dispose(Boolean)

释放此对象使用的资源。

DoesNotRecognizeSelector(Selector) (继承自 NSObject)
Draw(CGRect) (继承自 UIView)
DrawLayer(CALayer, CGContext) (继承自 UIView)
DrawPlaceholder(CGRect)
DrawRect(CGRect, UIViewPrintFormatter) (继承自 UIView)
DrawText(CGRect)
DrawViewHierarchy(CGRect, Boolean) (继承自 UIView)
Duplicate(NSObject) (继承自 UIResponder)
EditingRect(CGRect)
EncodeRestorableState(NSCoder) (继承自 UIView)
EncodeTo(NSCoder)

使用提供的编码器对对象的状态进行编码。

(继承自 UIView)
EndFloatingCursor()

结束浮动游标的显示。

EndTracking(UITouch, UIEvent) (继承自 UIControl)
EnumerateEventHandlers(UIControlEnumerateEventsIteratorHandler) (继承自 UIControl)
Equals(NSObject)

确定指定的 NSObject 值是否等于当前 NSObject。

(继承自 NSObject)
Equals(Object)

确定指定的对象是否等于当前 NSObject对象。

(继承自 NSObject)
ExchangeSubview(IntPtr, IntPtr)

此方法交换数组中UIView两Subviews个 s 的索引。

(继承自 UIView)
ExerciseAmbiguityInLayout() (继承自 UIView)
Export(NSObject) (继承自 UIResponder)
Find(NSObject) (继承自 UIResponder)
FindAndReplace(NSObject) (继承自 UIResponder)
FindNext(NSObject) (继承自 UIResponder)
FindPrevious(NSObject) (继承自 UIResponder)
FrameForAlignmentRect(CGRect) (继承自 UIView)
GestureRecognizerShouldBegin(UIGestureRecognizer) (继承自 UIView)
GetActions(NSObject, UIControlEvent) (继承自 UIControl)
GetAppearance(UITraitCollection, Type[])

获取其外观代理UITextField.UITextFieldAppearance。UITextField

GetAppearance(UITraitCollection)

获取其外观代理UITextField.UITextFieldAppearance。UITextField

GetAppearance<T>()

获取子类的外观UITextField.UITextFieldAppearance代理UITextField。

GetAppearance<T>(UITraitCollection, Type[])

获取子类的外观UITextField.UITextFieldAppearance代理UITextField。

GetAppearance<T>(UITraitCollection)

获取子类的外观UITextField.UITextFieldAppearance代理UITextField。

GetAttributedText(UITextRange)
GetBaseWritingDirection(UITextPosition, UITextStorageDirection)

获取文本位置的基本写入方向。

GetCaretRectForPosition(UITextPosition)

用于在给定插入点绘制插入符号的矩形。

GetCaretTransform(UITextPosition)
GetCharacterOffsetOfPosition(UITextPosition, UITextRange)

计算并返回文档中字符range的偏移量position。

GetCharacterRange(UITextPosition, UITextLayoutDirection)

获取定义方向限制内的字符范围。

GetCharacterRangeAtPoint(CGPoint)

获取位于给定点的文档中的字符或字符范围。

GetClosestPositionToPoint(CGPoint, UITextRange)
GetClosestPositionToPoint(CGPoint)

获取文档中存在到给定点的最接近的位置。

GetConfigurationForMenu(UIContextMenuInteraction, CGPoint) (继承自 UIControl)
GetConstraintsAffectingLayout(UILayoutConstraintAxis) (继承自 UIView)
GetDictionaryOfValuesFromKeys(NSString[]) (继承自 NSObject)
GetDirectionalEdgeInsets(UIViewLayoutRegion) (继承自 UIView)
GetDismissalPreview(UIContextMenuInteraction, UIContextMenuConfiguration, INSCopying) (继承自 UIControl)
GetEdgeInsets(UIViewLayoutRegion) (继承自 UIView)
GetEditMenu(UITextRange, UIMenuElement[])
GetEnumerator()

返回一个枚举器,该枚举器列出此视图中的所有子视图

(继承自 UIView)
GetFirstRectForRange(UITextRange)

获取包含指定文档文本范围的第一个矩形。

GetFocusItems(CGRect)

返回指定矩形内所有子焦点项的列表。

(继承自 UIView)
GetFrame(UIView) (继承自 UIView)
GetFrameForDictationResultPlaceholder(NSObject)

返回显示动画听写结果占位符的矩形。

GetHashCode()

为当前实例生成哈希代码。

(继承自 NSObject)
GetHighlightPreview(UIContextMenuInteraction, UIContextMenuConfiguration, INSCopying) (继承自 UIControl)
GetLayoutGuide(UIViewLayoutRegion) (继承自 UIView)
GetMenuAttachmentPoint(UIContextMenuConfiguration) (继承自 UIControl)
GetMethodForSelector(Selector) (继承自 NSObject)
GetNativeHash() (继承自 NSObject)
GetOffsetFromPosition(UITextPosition, UITextPosition)

获取两个定义文本位置之间的可见字符数。

GetPosition(UITextPosition, IntPtr)

获取初始位置的字符偏移量。

GetPosition(UITextPosition, UITextLayoutDirection, IntPtr)

获取初始位置的字符偏移量。

GetPosition(UITextRange, IntPtr)

计算并返回文档中字符 atCharacterOffset 输入 withinRange的绝对位置。

GetPositionWithinRange(UITextRange, UITextLayoutDirection)

获取指定范围内的位置。

GetPreviewForDismissingMenu(UIContextMenuInteraction, UIContextMenuConfiguration) (继承自 UIControl)
GetPreviewForHighlightingMenu(UIContextMenuInteraction, UIContextMenuConfiguration) (继承自 UIControl)
GetProvider(UIDeferredMenuElement) (继承自 UIResponder)
GetReservedRegions(UIViewReservedRegionKind, UIViewReservedRegionQueryOptions) (继承自 UIView)
GetReservedRegions(UIViewReservedRegionKind) (继承自 UIView)
GetSelectionRects(UITextRange)

获取与文本范围相对应的选定内容数组。

GetSoundIdentifier(UIFocusUpdateContext) (继承自 UIView)
GetTargetForAction(Selector, NSObject) (继承自 UIResponder)
GetTextRange(UITextPosition, UITextPosition)

获取指定的文本范围。

GetTextStyling(UITextPosition, UITextStorageDirection)

返回位于该位置的文本 atPosition 的样式属性字典。

HitTest(CGPoint, UIEvent) (继承自 UIView)
IncreaseSize(NSObject) (继承自 UIResponder)
Init()

通过调用 Objective-C init 方法初始化对象。

(继承自 NSObject)
InitializeHandle(NativeHandle, String, Boolean)

Handle使用本机初始值设定项的结果初始化属性。

(继承自 NSObject)
InitializeHandle(NativeHandle, String) (继承自 NSObject)
InitializeHandle(NativeHandle) (继承自 NSObject)
InsertAdaptiveImageGlyph(NSAdaptiveImageGlyph, UITextRange)
InsertAttributedText(NSAttributedString)
InsertDictationResult(NSArray)

在当前位置插入听写结果。

InsertDictationResultPlaceholder()

返回在生成听写结果之前要使用的占位符对象。

InsertInputSuggestion(UIInputSuggestion)
InsertSubview(UIView, IntPtr)

将指定子视图作为此视图的子视图插入指定位置。

(继承自 UIView)
InsertSubviewAbove(UIView, UIView) (继承自 UIView)
InsertSubviewBelow(UIView, UIView) (继承自 UIView)
InsertText(String, String[], UITextAlternativeStyle)
InsertText(String)

在光标处插入文本。

InsertTextPlaceholder(CGSize)
InvalidateIntrinsicContentSize() (继承自 UIView)
Invoke(Action, Double)

在指定的延迟后调用指定的操作。

(继承自 NSObject)
Invoke(Action, TimeSpan)

在指定的延迟后调用指定的操作。

(继承自 NSObject)
InvokeOnMainThread(Action)

在主 UI 线程上同步调用指定的操作。

(继承自 NSObject)
InvokeOnMainThread(Selector, NSObject)

在主 UI 线程上同步调用指定的代码。

(继承自 NSObject)
IsDescendantOfView(UIView) (继承自 UIView)
IsEqual(NSObject) (继承自 NSObject)
IsKindOfClass(Class) (继承自 NSObject)
IsMemberOfClass(Class) (继承自 NSObject)
LayoutIfNeeded() (继承自 UIView)
LayoutMarginsDidChange() (继承自 UIView)
LayoutSublayersOfLayer(CALayer) (继承自 UIView)
LayoutSubviews() (继承自 UIView)
LeftViewRect(CGRect)
MakeTextWritingDirectionLeftToRight(NSObject) (继承自 UIResponder)
MakeTextWritingDirectionRightToLeft(NSObject) (继承自 UIResponder)
MarkDirty()

将常规对等对象(IsDirectBinding 为 true)提升为 toggleref 对象。

(继承自 NSObject)
MotionBegan(UIEventSubtype, UIEvent) (继承自 UIResponder)
MotionCancelled(UIEventSubtype, UIEvent) (继承自 UIResponder)
MotionEnded(UIEventSubtype, UIEvent) (继承自 UIResponder)
Move(NSObject) (继承自 UIResponder)
MovedToSuperview() (继承自 UIView)
MovedToWindow() (继承自 UIView)
MutableCopy() (继承自 NSObject)
NeedsUpdateConstraints() (继承自 UIView)
NewFromPasteboard(NSObject) (继承自 UIResponder)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr) (继承自 NSObject)
Paste(NSItemProvider[])

执行粘贴。

Paste(NSObject) (继承自 UIResponder)
PasteAndGo(NSObject) (继承自 UIResponder)
PasteAndMatchStyle(NSObject) (继承自 UIResponder)
PasteAndSearch(NSObject) (继承自 UIResponder)
PerformClose(NSObject) (继承自 UIResponder)
PerformPrimaryAction() (继承自 UIControl)
PerformSelector(Selector, NSObject, Double, NSString[]) (继承自 NSObject)
PerformSelector(Selector, NSObject, Double) (继承自 NSObject)
PerformSelector(Selector, NSObject, NSObject) (继承自 NSObject)
PerformSelector(Selector, NSObject) (继承自 NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[]) (继承自 NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean) (继承自 NSObject)
PerformSelector(Selector) (继承自 NSObject)
PlaceholderRect(CGRect)
PointInside(CGPoint, UIEvent) (继承自 UIView)
PrepareForInterfaceBuilder() (继承自 NSObject)
PressesBegan(NSSet<UIPress>, UIPressesEvent) (继承自 UIResponder)
PressesCancelled(NSSet<UIPress>, UIPressesEvent) (继承自 UIResponder)
PressesChanged(NSSet<UIPress>, UIPressesEvent) (继承自 UIResponder)
PressesEnded(NSSet<UIPress>, UIPressesEvent) (继承自 UIResponder)
Print(NSObject) (继承自 UIResponder)
RegisterForTraitChanges(Action<IUITraitEnvironment,UITraitCollection>, Type[])

注册一个回调处理程序,该处理程序将在指定特征之一发生更改时执行。

(继承自 UIView)
RegisterForTraitChanges(Class[], Action<IUITraitEnvironment,UITraitCollection>) (继承自 UIView)
RegisterForTraitChanges(Class[], NSObject, Selector) (继承自 UIView)
RegisterForTraitChanges(Class[], Selector) (继承自 UIView)
RegisterForTraitChanges(IUITraitDefinition[], Action<IUITraitEnvironment,UITraitCollection>)
已过时.
(继承自 UIView)
RegisterForTraitChanges(IUITraitDefinition[], NSObject, Selector)
已过时.
(继承自 UIView)
RegisterForTraitChanges(IUITraitDefinition[], Selector)
已过时.
(继承自 UIView)
RegisterForTraitChanges(Type[], Action<IUITraitEnvironment,UITraitCollection>)

注册一个回调处理程序,该处理程序将在指定特征之一发生更改时执行。

(继承自 UIView)
RegisterForTraitChanges(Type[], NSObject, Selector)

注册一个选择器,当任何指定的特征发生更改时,将在指定对象上调用该选择器。

(继承自 UIView)
RegisterForTraitChanges(Type[], Selector)

注册一个选择器,当任何指定的特征发生更改时,将在当前对象上调用该选择器。

(继承自 UIView)
RegisterForTraitChanges<T>(Action<IUITraitEnvironment,UITraitCollection>)

注册将在指定特征发生更改时执行的回调处理程序。

(继承自 UIView)
RegisterForTraitChanges<T1,T2,T3,T4>(Action<IUITraitEnvironment,UITraitCollection>)

注册将在任何指定特征发生更改时执行的回调处理程序。

(继承自 UIView)
RegisterForTraitChanges<T1,T2,T3>(Action<IUITraitEnvironment,UITraitCollection>)

注册将在任何指定特征发生更改时执行的回调处理程序。

(继承自 UIView)
RegisterForTraitChanges<T1,T2>(Action<IUITraitEnvironment,UITraitCollection>)

注册将在任何指定特征发生更改时执行的回调处理程序。

(继承自 UIView)
ReloadInputViews() (继承自 UIResponder)
RemoteControlReceived(UIEvent) (继承自 UIResponder)
RemoveAction(String, UIControlEvent) (继承自 UIControl)
RemoveAction(UIAction, UIControlEvent) (继承自 UIControl)
RemoveConstraint(NSLayoutConstraint) (继承自 UIView)
RemoveConstraints(NSLayoutConstraint[]) (继承自 UIView)
RemoveDictationResultPlaceholder(NSObject, Boolean)

不再需要该 placeholder 操作。

RemoveFromSuperview() (继承自 UIView)
RemoveGestureRecognizer(UIGestureRecognizer) (继承自 UIView)
RemoveInteraction(IUIInteraction) (继承自 UIView)
RemoveLayoutGuide(UILayoutGuide) (继承自 UIView)
RemoveMotionEffect(UIMotionEffect) (继承自 UIView)
RemoveObserver(NSObject, NSString, IntPtr) (继承自 NSObject)
RemoveObserver(NSObject, NSString) (继承自 NSObject)
RemoveObserver(NSObject, String, IntPtr) (继承自 NSObject)
RemoveObserver(NSObject, String) (继承自 NSObject)
RemoveTarget(EventHandler, UIControlEvent)

删除以前为指定的事件列表安装的事件处理程序。

(继承自 UIControl)
RemoveTarget(NSObject, Selector, UIControlEvent) (继承自 UIControl)
RemoveTextPlaceholder(UITextPlaceholder)
Rename(NSObject) (继承自 UIResponder)
ReplaceRange(UITextRange, NSAttributedString)
ReplaceText(UITextRange, String)

替换指定范围内的文档文本。

ResignFirstResponder() (继承自 UIResponder)
ResizableSnapshotView(CGRect, Boolean, UIEdgeInsets) (继承自 UIView)
RespondsToSelector(Selector) (继承自 NSObject)
RestoreUserActivityState(NSUserActivity) (继承自 UIResponder)
RightViewRect(CGRect)
SafeAreaInsetsDidChange() (继承自 UIView)
Select(NSObject) (继承自 UIResponder)
SelectAll(NSObject) (继承自 UIResponder)
SendAction(Selector, NSObject, UIEvent) (继承自 UIControl)
SendAction(UIAction) (继承自 UIControl)
SendActionForControlEvents(UIControlEvent) (继承自 UIControl)
SendSubviewToBack(UIView) (继承自 UIView)
SetAttributedMarkedText(NSAttributedString, NSRange)
SetBaseWritingDirectionforRange(NSWritingDirection, UITextRange)

设置在指定文本范围内写入的基本方向。

SetContentCompressionResistancePriority(Single, UILayoutConstraintAxis) (继承自 UIView)
SetContentHuggingPriority(Single, UILayoutConstraintAxis) (继承自 UIView)
SetEffectiveRadius(UIRectCorner) (继承自 UIView)
SetMarkedText(String, NSRange)

设置标记的文本并将其标记为当前选定内容。

SetNeedsDisplay() (继承自 UIView)
SetNeedsDisplayInRect(CGRect) (继承自 UIView)
SetNeedsFocusUpdate()

当活动焦点环境为活动焦点环境时 this ,请求焦点更新,这可能会更改焦点 PreferredFocusedView。 (另 UpdateFocusIfNeeded()请参阅。)

(继承自 UIView)
SetNeedsLayout() (继承自 UIView)
SetNeedsUpdateConstraints() (继承自 UIView)
SetNeedsUpdateProperties() (继承自 UIView)
SetNilValueForKey(NSString) (继承自 NSObject)
SetValueForKey(NSObject, NSString) (继承自 NSObject)
SetValueForKeyPath(NativeHandle, NSString)

将给定键路径标识的属性的值设置为给定值。

(继承自 NSObject)
SetValueForKeyPath(NSObject, NSString) (继承自 NSObject)
SetValueForUndefinedKey(NSObject, NSString) (继承自 NSObject)
SetValuesForKeysWithDictionary(NSDictionary) (继承自 NSObject)
ShouldChangeTextInRange(UITextRange, String)

询问是否应将文本 inRange 替换为 replacementText。

ShouldUpdateFocus(UIFocusUpdateContext)

在当前对象丢失或接收焦点之前调用。 如果任一焦点环境返回 false,则取消焦点更新。

(继承自 UIView)
ShowWritingTools(NSObject) (继承自 UIResponder)
SizeThatFits(CGSize) (继承自 UIView)
SizeToFit() (继承自 UIView)
SnapshotView(Boolean) (继承自 UIView)
SubviewAdded(UIView) (继承自 UIView)
SystemLayoutSizeFittingSize(CGSize, Single, Single) (继承自 UIView)
SystemLayoutSizeFittingSize(CGSize) (继承自 UIView)
TextInRange(UITextRange)

获取在特定范围内指定的所有文本。

TextRect(CGRect)
TintColorDidChange() (继承自 UIView)
ToggleBoldface(NSObject) (继承自 UIResponder)
ToggleInspector(NSObject) (继承自 UIResponder)
ToggleItalics(NSObject) (继承自 UIResponder)
ToggleSidebar(NSObject) (继承自 UIResponder)
ToggleUnderline(NSObject) (继承自 UIResponder)
ToString()

返回当前实例值的字符串表示形式。

(继承自 NSObject)
TouchesBegan(NSSet, UIEvent) (继承自 UIResponder)
TouchesCancelled(NSSet, UIEvent) (继承自 UIResponder)
TouchesEnded(NSSet, UIEvent) (继承自 UIResponder)
TouchesEstimatedPropertiesUpdated(NSSet) (继承自 UIResponder)
TouchesMoved(NSSet, UIEvent) (继承自 UIResponder)
TraitCollectionDidChange(UITraitCollection)

描述环境的特征集合已更改。

(继承自 UIView)
UnmarkText()

取消标记文档中当前标记的所有文本

UnregisterForTraitChanges(IUITraitChangeRegistration) (继承自 UIView)
UpdateConstraints() (继承自 UIView)
UpdateConstraintsIfNeeded() (继承自 UIView)
UpdateFloatingCursor(CGPoint)

将浮动 curor 移动到指定的 point。

UpdateFocusIfNeeded()

如果任何焦点环境有挂起的更新,此方法将强制立即进行焦点更新。 与此方法不同 SetNeedsFocusUpdate(),此方法可能由任何 IUIFocusEnvironment方法调用,无论它当前是否包含焦点。

(继承自 UIView)
UpdateProperties() (继承自 UIView)
UpdatePropertiesIfNeeded() (继承自 UIView)
UpdateTextAttributes(UITextAttributesConversionHandler) (继承自 UIResponder)
UpdateTraitsIfNeeded() (继承自 UIView)
UpdateUserActivityState(NSUserActivity) (继承自 UIResponder)
UseSelectionForFind(NSObject) (继承自 UIResponder)
ValidateCommand(UICommand) (继承自 UIResponder)
ValueForKey(NSString) (继承自 NSObject)
ValueForKeyPath(NSString) (继承自 NSObject)
ValueForUndefinedKey(NSString) (继承自 NSObject)
ViewWithTag(IntPtr)

返回 UIView 由 tag.. 可以返回 null。

(继承自 UIView)
WillChange(NSKeyValueChange, NSIndexSet, NSString) (继承自 NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) (继承自 NSObject)
WillChangeValue(String) (继承自 NSObject)
WillDismissEditMenu(IUIEditMenuInteractionAnimating)
WillDisplayMenu(UIContextMenuInteraction, UIContextMenuConfiguration, IUIContextMenuInteractionAnimating) (继承自 UIControl)
WillDrawLayer(CALayer)

即将绘制时 layer 调用的方法。

(继承自 UIView)
WillEnd(UIContextMenuInteraction, UIContextMenuConfiguration, IUIContextMenuInteractionAnimating) (继承自 UIControl)
WillMoveToSuperview(UIView) (继承自 UIView)
WillMoveToWindow(UIWindow) (继承自 UIView)
WillPerformPreviewAction(UIContextMenuInteraction, UIContextMenuConfiguration, IUIContextMenuInteractionCommitAnimating) (继承自 UIControl)
WillPresentEditMenu(IUIEditMenuInteractionAnimating)
WillPresentWritingTools()
WillRemoveSubview(UIView) (继承自 UIView)

事件

名称 说明
AllEditingEvents

针对任何编辑事件引发。

(继承自 UIControl)
AllEvents

针对任何事件引发。

(继承自 UIControl)
AllTouchEvents

针对任何触摸事件引发。

(继承自 UIControl)
DidChangeSelection

文本选择更改时引发。

EditingChanged

编辑值发生更改时引发。

(继承自 UIControl)
EditingDidBegin

编辑开始时引发。

(继承自 UIControl)
EditingDidEnd

编辑结束后引发。

(继承自 UIControl)
EditingDidEndOnExit

编辑结束且用户退出控件时引发。

(继承自 UIControl)
Ended

编辑结束后引发。

EndedWithReason

编辑结束时引发的事件。

PrimaryActionTriggered

触发与此 UIControl 关联的主操作时引发。

(继承自 UIControl)
Started

编辑开始时引发。

TouchCancel

在取消触摸事件时引发。

(继承自 UIControl)
TouchDown

当用户触摸控件时引发。

(继承自 UIControl)
TouchDownRepeat

当用户双击控件时引发。

(继承自 UIControl)
TouchDragEnter

在事件上 TouchDragEnter 引发。

(继承自 UIControl)
TouchDragExit

在事件上 TouchDragExit 引发。

(继承自 UIControl)
TouchDragInside

在事件上 TouchDragInside 引发。

(继承自 UIControl)
TouchDragOutside

在事件上 TouchDragOutside 引发。

(继承自 UIControl)
TouchUpInside

在事件上 TouchUpInside 引发。

(继承自 UIControl)
TouchUpOutside

在事件上 TouchUpOutside 引发。

(继承自 UIControl)
ValueChanged

当值发生更改时引发。

(继承自 UIControl)

扩展方法

名称 说明
AccessibilityHitTest(NSObject, CGPoint, UIEvent)
ActionForLayer(ICALayerDelegate, CALayer, String)
AlignCenter(IUIResponderStandardEditActions, NSObject)
AlignJustified(IUIResponderStandardEditActions, NSObject)
AlignLeft(IUIResponderStandardEditActions, NSObject)
AlignRight(IUIResponderStandardEditActions, NSObject)
BeginFloatingCursor(IUITextInput, CGPoint)

开始在指定的 point位置显示浮动光标。

BrowserAccessibilityDeleteTextAtCursor(NSObject, IntPtr)
BrowserAccessibilityInsertTextAtCursor(NSObject, String)
CanPaste(IUIPasteConfigurationSupporting, NSItemProvider[])

如果响应者可以从指定的项提供程序粘贴,则返回 true 。

Copy(IUIResponderStandardEditActions, NSObject)
Cut(IUIResponderStandardEditActions, NSObject)
DecreaseSize(IUIResponderStandardEditActions, NSObject)
Delete(IUIResponderStandardEditActions, NSObject)
DictationRecognitionFailed(IUITextInput)

听写的识别失败。

DictationRecordingDidEnd(IUITextInput)

听写记录已结束。

DidDismissWritingTools(IUITextInput)
DidHintFocusMovement(IUIFocusItem, UIFocusMovementHint)

当焦点更改可能很快发生时调用。

DisplayLayer(ICALayerDelegate, CALayer)
DrawLayer(ICALayerDelegate, CALayer, CGContext)
Duplicate(IUIResponderStandardEditActions, NSObject)
EndEditing(UIView, Boolean)
EndFloatingCursor(IUITextInput)

结束浮动游标的显示。

Export(IUIResponderStandardEditActions, NSObject)
Find(IUIResponderStandardEditActions, NSObject)
FindAndReplace(IUIResponderStandardEditActions, NSObject)
FindNext(IUIResponderStandardEditActions, NSObject)
FindPrevious(IUIResponderStandardEditActions, NSObject)
GetAccessibilityCustomRotors(NSObject)

获取适合UIAccessibilityCustomRotor对象的对象的数组this。

GetAccessibilityLineEndPositionFromCurrentSelection(NSObject)
GetAccessibilityLineRangeForPosition(NSObject, IntPtr)
GetAccessibilityLineStartPositionFromCurrentSelection(NSObject)
GetAccessibilityNextTextNavigationElement(NSObject)
GetAccessibilityNextTextNavigationElementBlock(NSObject)
GetAccessibilityPreviousTextNavigationElement(NSObject)
GetAccessibilityPreviousTextNavigationElementBlock(NSObject)
GetAccessibilityTextInputResponder(NSObject)
GetAccessibilityTextInputResponderHandler(NSObject)
GetAllowedWritingToolsResultOptions(IUITextInputTraits)
GetAllowsNumberPadPopover(IUITextInputTraits)
GetAttributedText(IUITextInput, UITextRange)
GetAutocapitalizationType(IUITextInputTraits)

UITextAutocapitalizationType由 .IUITextInput.

GetAutocorrectionType(IUITextInputTraits)

UITextAutocorrectionType由 .IUITextInput.

GetBrowserAccessibilityAttributedValue(NSObject, NSRange)
GetBrowserAccessibilityContainerType(NSObject)
GetBrowserAccessibilityCurrentStatus(NSObject)
GetBrowserAccessibilityDetailsElements(NSObject)
GetBrowserAccessibilityHasDomFocus(NSObject)
GetBrowserAccessibilityImageData(NSObject, NSDictionary)
GetBrowserAccessibilityImageDataSize(NSObject)
GetBrowserAccessibilityIsRequired(NSObject)
GetBrowserAccessibilityKeyboardShortcuts(NSObject)
GetBrowserAccessibilityOrientation(NSObject)
GetBrowserAccessibilityPressedState(NSObject)
GetBrowserAccessibilityRoleDescription(NSObject)
GetBrowserAccessibilitySelectedTextRange(NSObject)
GetBrowserAccessibilitySortDirection(NSObject)
GetBrowserAccessibilityValue(NSObject, NSRange)
GetCaretTransform(IUITextInput, UITextPosition)
GetCharacterOffsetOfPosition(IUITextInput, UITextPosition, UITextRange)

计算并返回文档中字符range的偏移量position。

GetCollisionBoundingPath(IUIDynamicItem)

返回用于碰撞检测的封闭路径。

GetCollisionBoundsType(IUIDynamicItem)

返回一个值,该值指示如何指定冲突边界。

GetConversationContext(IUITextInputTraits)
GetDebugDescription(INSObjectProtocol)
GetDismissalPreview(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration, INSCopying)
GetEditable(IUITextInput)
GetEditMenu(IUITextInput, UITextRange, UIMenuElement[])
GetEnablesReturnKeyAutomatically(IUITextInputTraits)

是否自动启用返回密钥。

GetFocusEffect(IUIFocusItem)
GetFocusGroupIdentifier(IUIFocusEnvironment)
GetFocusGroupPriority(IUIFocusItem)
GetFocusItemDeferralMode(IUIFocusItem)
GetFrame(IUIPopoverPresentationControllerSourceItem, UIView)
GetFrameForDictationResultPlaceholder(IUITextInput, NSObject)

返回显示动画听写结果占位符的矩形。

GetGrammarCheckingType(IUITextInputTraits)
GetHandle(INativeObject)
GetHighlightPreview(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration, INSCopying)
GetInlinePredictionType(IUITextInputTraits)
GetIsTransparentFocusItem(IUIFocusItem)
GetKeyboardAppearance(IUITextInputTraits)

UIKeyboardAppearance所使用的IUITextInput

GetKeyboardType(IUITextInputTraits)

UIKeyboardType由 .IUITextInput.

GetMathExpressionCompletionType(IUITextInputTraits)
GetNonNullHandle(INativeObject, String)
GetPasswordRules(IUITextInputTraits)

密码输入规则。

GetPencilKitResponderState(UIResponder)
GetPosition(IUITextInput, UITextRange, IntPtr)

计算并返回文档中字符 atCharacterOffset 输入 withinRange的绝对位置。

GetPreferredFocusedView(IUIFocusEnvironment)

如果不是 null,则表示应默认接收焦点的子级 UIView 。

GetPreviewForDismissingMenu(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration)
GetPreviewForHighlightingMenu(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration)
GetReturnKeyType(IUITextInputTraits)

返回键的形式 IUITextInput。

GetSecureTextEntry(IUITextInputTraits)

是否应隐藏输入的文本。

GetSelectionAffinity(IUITextInput)

一个值,该值控制游标是显示在最后一行的开头还是多行选择的第二行的末尾。

GetSmartDashesType(IUITextInputTraits)

智能短划线样式。

GetSmartInsertDeleteType(IUITextInputTraits)

智能插入样式。

GetSmartQuotesType(IUITextInputTraits)

智能引号样式。

GetSoundIdentifier(IUIFocusEnvironment, UIFocusUpdateContext)
GetSpellCheckingType(IUITextInputTraits)

获取或设置一个值,该值指示拼写检查是打开、关闭还是仅在启用自动完成时(默认值)才启用拼写检查。

GetSupportsAdaptiveImageGlyph(IUITextInput)
GetTextContentType(IUITextInputTraits)

预期输入的语义,允许系统提供自定义键盘。

GetTextInputView(IUITextInput)

返回输入视图,该视图为文本输入中的几何运算提供坐标系。

GetTextStyling(IUITextInput, UITextPosition, UITextStorageDirection)

返回位于该位置的文本 atPosition 的样式属性字典。

GetUnobscuredContentRect(IUITextInput)
GetWritingToolsBehavior(IUITextInputTraits)
IncreaseSize(IUIResponderStandardEditActions, NSObject)
InsertAdaptiveImageGlyph(IUITextInput, NSAdaptiveImageGlyph, UITextRange)
InsertAttributedText(IUITextInput, NSAttributedString)
InsertDictationResult(IUITextInput, NSArray)

在当前位置插入听写结果。

InsertDictationResultPlaceholder(IUITextInput)

返回在生成听写结果之前要使用的占位符对象。

InsertInputSuggestion(IUITextInput, UIInputSuggestion)
InsertText(IUITextInput, String, String[], UITextAlternativeStyle)
InsertTextPlaceholder(IUITextInput, CGSize)
LayoutSublayersOfLayer(ICALayerDelegate, CALayer)
MakeTextWritingDirectionLeftToRight(IUIResponderStandardEditActions, NSObject)
MakeTextWritingDirectionRightToLeft(IUIResponderStandardEditActions, NSObject)
Move(IUIResponderStandardEditActions, NSObject)
NewFromPasteboard(IUIResponderStandardEditActions, NSObject)
Paste(IUIPasteConfigurationSupporting, NSItemProvider[])

执行粘贴。

Paste(IUIResponderStandardEditActions, NSObject)
PasteAndGo(IUIResponderStandardEditActions, NSObject)
PasteAndMatchStyle(IUIResponderStandardEditActions, NSObject)
PasteAndSearch(IUIResponderStandardEditActions, NSObject)
PerformClose(IUIResponderStandardEditActions, NSObject)
Print(IUIResponderStandardEditActions, NSObject)
ProvideImageData(NSObject, IntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)
ProvideImageToMTLTexture(NSObject, IMTLTexture, IMTLCommandBuffer, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)
RegisterForTraitChanges(IUITraitChangeObservable, Class[], Action<IUITraitEnvironment,UITraitCollection>)
RegisterForTraitChanges(IUITraitChangeObservable, Class[], NSObject, Selector)
RegisterForTraitChanges(IUITraitChangeObservable, Class[], Selector)
RegisterForTraitChanges(IUITraitChangeObservable, IUITraitDefinition[], Action<IUITraitEnvironment,UITraitCollection>)
RegisterForTraitChanges(IUITraitChangeObservable, IUITraitDefinition[], NSObject, Selector)
RegisterForTraitChanges(IUITraitChangeObservable, IUITraitDefinition[], Selector)
RemoveDictationResultPlaceholder(IUITextInput, NSObject, Boolean)

不再需要该 placeholder 操作。

RemoveTextPlaceholder(IUITextInput, UITextPlaceholder)
Rename(IUIResponderStandardEditActions, NSObject)
ReplaceRange(IUITextInput, UITextRange, NSAttributedString)
Select(IUIResponderStandardEditActions, NSObject)
SelectAll(IUIResponderStandardEditActions, NSObject)
SetAccessibilityCustomRotors(NSObject, UIAccessibilityCustomRotor[])

设置适合UIAccessibilityCustomRotor对象的对象的数组this。

SetAccessibilityNextTextNavigationElement(NSObject, NSObject)
SetAccessibilityNextTextNavigationElementBlock(NSObject, AXObjectReturnBlock)
SetAccessibilityPreviousTextNavigationElement(NSObject, NSObject)
SetAccessibilityPreviousTextNavigationElementBlock(NSObject, AXObjectReturnBlock)
SetAccessibilityTextInputResponder(NSObject, IUITextInput)
SetAccessibilityTextInputResponderHandler(NSObject, UITextInputReturnHandler)
SetAllowedWritingToolsResultOptions(IUITextInputTraits, UIWritingToolsResultOptions)
SetAllowsNumberPadPopover(IUITextInputTraits, Boolean)
SetAttributedMarkedText(IUITextInput, NSAttributedString, NSRange)
SetAutocapitalizationType(IUITextInputTraits, UITextAutocapitalizationType)

UITextAutocapitalizationType由 .IUITextInput.

SetAutocorrectionType(IUITextInputTraits, UITextAutocorrectionType)

UITextAutocorrectionType由 .IUITextInput.

SetBrowserAccessibilityContainerType(NSObject, BEAccessibilityContainerType)
SetBrowserAccessibilityCurrentStatus(NSObject, String)
SetBrowserAccessibilityDetailsElements(NSObject, NSObject[])
SetBrowserAccessibilityHasDomFocus(NSObject, Boolean)
SetBrowserAccessibilityIsRequired(NSObject, Boolean)
SetBrowserAccessibilityKeyboardShortcuts(NSObject, String)
SetBrowserAccessibilityOrientation(NSObject, BEAccessibilityOrientation)
SetBrowserAccessibilityPressedState(NSObject, BEAccessibilityPressedState)
SetBrowserAccessibilityRoleDescription(NSObject, String)
SetBrowserAccessibilitySelectedTextRange(NSObject, NSRange)
SetBrowserAccessibilitySortDirection(NSObject, String)
SetConversationContext(IUITextInputTraits, UIConversationContext)
SetEnablesReturnKeyAutomatically(IUITextInputTraits, Boolean)

是否自动启用返回密钥。

SetGrammarCheckingType(IUITextInputTraits, UITextGrammarCheckingType)
SetInlinePredictionType(IUITextInputTraits, UITextInlinePredictionType)
SetKeyboardAppearance(IUITextInputTraits, UIKeyboardAppearance)

UIKeyboardAppearance所使用的IUITextInput

SetKeyboardType(IUITextInputTraits, UIKeyboardType)

UIKeyboardType由 .IUITextInput.

SetMathExpressionCompletionType(IUITextInputTraits, UITextMathExpressionCompletionType)
SetPasswordRules(IUITextInputTraits, UITextInputPasswordRules)

密码输入规则。

SetReturnKeyType(IUITextInputTraits, UIReturnKeyType)

返回键的形式 IUITextInput。

SetSecureTextEntry(IUITextInputTraits, Boolean)

是否应隐藏输入的文本。

SetSelectionAffinity(IUITextInput, UITextStorageDirection)

一个值,该值控制游标是显示在最后一行的开头还是多行选择的第二行的末尾。

SetSharedObservers(NSObject, NSKeyValueSharedObserversSnapshot)
SetSmartDashesType(IUITextInputTraits, UITextSmartDashesType)

智能短划线样式。

SetSmartInsertDeleteType(IUITextInputTraits, UITextSmartInsertDeleteType)

智能插入样式。

SetSmartQuotesType(IUITextInputTraits, UITextSmartQuotesType)

智能引号样式。

SetSpellCheckingType(IUITextInputTraits, UITextSpellCheckingType)

获取或设置一个值,该值指示拼写检查是打开、关闭还是仅在启用自动完成时(默认值)才启用拼写检查。

SetSupportsAdaptiveImageGlyph(IUITextInput, Boolean)
SetTextContentType(IUITextInputTraits, NSString)

预期输入的语义,允许系统提供自定义键盘。

SetWritingToolsBehavior(IUITextInputTraits, UIWritingToolsBehavior)
ShouldChangeTextInRange(IUITextInput, UITextRange, String)

询问是否应将文本 inRange 替换为 replacementText。

ShowWritingTools(IUIResponderStandardEditActions, NSObject)
ToggleBoldface(IUIResponderStandardEditActions, NSObject)
ToggleInspector(IUIResponderStandardEditActions, NSObject)
ToggleItalics(IUIResponderStandardEditActions, NSObject)
ToggleSidebar(IUIResponderStandardEditActions, NSObject)
ToggleUnderline(IUIResponderStandardEditActions, NSObject)
UpdateFloatingCursor(IUITextInput, CGPoint)

将浮动 curor 移动到指定的 point。

UpdateTextAttributes(IUIResponderStandardEditActions, UITextAttributesConversionHandler)
UseSelectionForFind(IUIResponderStandardEditActions, NSObject)
WillDismissEditMenu(IUITextInput, IUIEditMenuInteractionAnimating)
WillDisplayMenu(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration, IUIContextMenuInteractionAnimating)
WillDrawLayer(ICALayerDelegate, CALayer)

即将绘制时 layer 调用的方法。

WillEnd(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration, IUIContextMenuInteractionAnimating)
WillPerformPreviewAction(IUIContextMenuInteractionDelegate, UIContextMenuInteraction, UIContextMenuConfiguration, IUIContextMenuInteractionCommitAnimating)
WillPresentEditMenu(IUITextInput, IUIEditMenuInteractionAnimating)
WillPresentWritingTools(IUITextInput)

适用于