【发布时间】:2015-05-19 15:35:04
【问题描述】:
我需要将 UISearchDisplayController 类中的表格视图设置为从 UITableView 扩展的自定义类。
我正在使用这个 pod:https://github.com/OliverLetterer/SLExpandableTableView,但在使用 UISearchBar 和搜索结果时我似乎无法使其工作。
我想用于表格视图的类叫做SLExpandableTableView,它有几个方法和属性可以让子行工作。
提前致谢。
【问题讨论】:
-
你使用
UISearchDisplayController是因为你需要支持iOS 7吗?您还标记了UISearchController,它是UISearchDisplayController的替代品。 -
不,我使用的是
UISearchDisplayController。我会从标签中删除它。
标签: ios uitableview uisearchbar uisearchdisplaycontroller