开发者

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

开发者 https://www.devze.com 2023-03-08 11:51 出处:网络
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 unders

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

精彩评论

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