Hi, does anyone know how to test when the last character in a UISearchBar is deleted. i.e. you type ...
Gary > return "Gary"
Gar > return "Gar"
Ga > return "Ga"
G > return "G"
> return ???
.
-(void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText {
[self FG_Filter:searchText];
}
I was thinking it would be @"" but I am having trouble getting that to work.
many thanks
Gary