【发布时间】:2011-08-11 23:46:47
【问题描述】:
我的 UITableView 的 headerview 中有一个 UISearchDisplayController。我想知道 UISearchDisplayController 的 searchResultsTableView 何时显示,以便我可以做一些其他操作:
if(self.tableView == self.searchDisplayController.searchResultsTableView)
即使显示 searchResultsTableView 也始终返回 true。我该如何解决这个问题?
【问题讨论】:
标签: iphone objective-c cocoa-touch uitableview uisearchdisplaycontroller