検索ビューコントローラで動作するようにvariableHeightRowsを取得できませんでした。searchViewControllerのThree20:variableHeightRows
TTTableViewController* searchController = [[TTTableViewController alloc] init];
searchController.dataSource = [[[SomeDataSource alloc] init] autorelease];
searchController.variableHeightRows = YES; // this doesn't affect the table
self.searchViewController = searchController;
[searchController release];
self.tableView.tableHeaderView = _searchController.searchBar;
_searchController.pausesBeforeSearching = YES;
[_searchController setSearchResultsDelegate:self];
デフォルトの高さの行が常に表示されます。同じデータソースを使用している私の通常のテーブルビューでは、行の高さは私が提供したカスタムのものに設定されています(+ (CGFloat)tableView:(UITableView*)tableView rowHeightForObject:(id)object
)が、特に検索コントローラにはありません。
私は間違っていますか?深い調査の後