編輯

共用方式為


UITextFieldDelegate.ShouldChangeCharacters Method

Definition

Whether the specified text should be changed.

[Foundation.Export("textField:shouldChangeCharactersInRange:replacementString:")]
public virtual bool ShouldChangeCharacters (UIKit.UITextField textField, Foundation.NSRange range, string replacementString);
abstract member ShouldChangeCharacters : UIKit.UITextField * Foundation.NSRange * string -> bool
override this.ShouldChangeCharacters : UIKit.UITextField * Foundation.NSRange * string -> bool

Parameters

textField
UITextField
range
NSRange
replacementString
String

Returns

Attributes

Applies to