自動完全検索では、自動検索用のコードの下で使用される tableview.i からデータを取得したいのですが、自動検索ではありません。誰か知っていたら助けてください
- (void)searchAutocompleteEntriesWithSubstring:(NSString *)substring {
// Put anything that starts with this substring into the autocompleteUrls array
// The items in this array is what will show up in the table view
[autoCompleteData removeAllObjects];
for(NSString *curString in pastData) {
NSRange substringRange = [curString rangeOfString:substring];
if (substringRange.length!= 0) {
[autoCompleteData addObject:curString];
}
}
[routeName reloadData];
}