Share via


UITextView.ShouldChangeTextInRange(UITextRange, String) Method

Definition

Asks whether the text in inRange should be replaced with replacementText.

[Foundation.Export("shouldChangeTextInRange:replacementText:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldChangeTextInRange(UIKit.UITextRange inRange, string replacementText);
[<Foundation.Export("shouldChangeTextInRange:replacementText:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ShouldChangeTextInRange : UIKit.UITextRange * string -> bool
override this.ShouldChangeTextInRange : UIKit.UITextRange * string -> bool

Parameters

inRange
UITextRange
replacementText
String

Returns

Implements

Attributes

Applies to