結果のないUITableViewで検索した後、「結果がありません」というテキストを「一致しない...」に変更したいのですが、場所が見つかりません。助けてください!
ここにいくつかのコードがあります:
- (void)searchBarTextDidEndEditing:(UISearchBar *)searchBar{
if ([self.webSearchData count] == 0) {
for (UILabel *label in self.searchTable.subviews) {
if (label.text = @"No Results") {
label.text = @"Not Match";
}
}
}
}