0

我正在使用带有 . 的搜索栏控制器UITableview。搜索结果正确出现。我已将 row 设置heightseparator stylenone 和backgroundColor clearColorand tranparent。但问题是结果表视图没有所有这些样式。怎么办?如何应用表视图搜索结果表格视图的样式?

4

2 回答 2

1
self.searchDisplayController.searchResultsTableView.backgroundColor = [UIColor clearColor];

i hope this is the way, you are accessing the tableView. Let me know if it worked.

于 2012-09-17T11:21:30.783 回答
0

除了向 tableview(datasource) 提供输入之外,搜索栏控制器没有任何直接依赖关系

我认为(可能是)表视图的内存已更改(内存:再次分配)

于 2012-09-17T11:17:53.363 回答