开发者

How to reduce the size of the table view that is getting displayed when using search display controller?

i am using searchdisplaycontroller to display the search bar and the table that displays the search re开发者_运维知识库sults. i need to modify the frame of the table view.


I'm not really sure I understand your question. However, when using the SearchDisplayController, the best way to perform the search that I have found is in the answer to the following question...

How to filter NSFetchedResultsController (CoreData) with UISearchDisplayController/UISearchBar

If this isn't what you are looking for, perhaps you can elaborate a bit more on what you are trying to accomplish.

To access the tableView used by the searchDisplayController, try this:

self.searchDisplayController.searchResultsTableView
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜