UISearchBarDelegate.ShouldChangeTextInRange Method

Definition

Whether text in a specified range should be replaced with the given text.

[Foundation.Export("searchBar:shouldChangeTextInRange:replacementText:")]
public virtual bool ShouldChangeTextInRange (UIKit.UISearchBar searchBar, Foundation.NSRange range, string text);
abstract member ShouldChangeTextInRange : UIKit.UISearchBar * Foundation.NSRange * string -> bool
override this.ShouldChangeTextInRange : UIKit.UISearchBar * Foundation.NSRange * string -> bool

Parameters

searchBar
UISearchBar
range
NSRange
text
String

Returns

Attributes

Applies to