Allows the app developer to programmatically reject replacement text.
Syntax
[Foundation.Export("shouldChangeTextInRange:replacementText:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_6_0)]
public virtual
bool ShouldChangeTextInRange (
UITextRange inRange,
string replacementText)
Parameters
- inRange
- Current selection range in which text is changed.
- replacementText
- The replacement text to insert.
Returns
true if old text is to be replaced by new text; false if replacement operation is to be aborted.
Remarks
Requirements
Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0