Closed 276523923 closed 1 year ago
QMUICommonTableViewController 使用search controller 的时候
使用的是默认的初始化方法: self.searchController = [[QMUISearchController alloc] initWithContentsViewController:self];
能否改成 self.searchController = [[QMUISearchController alloc] initWithContentsViewController:self resultsTableViewStyle:self.tableView.style];
想让search controller 跟 自己的tableViewController 的样式一致。或者提供个选项自己决定样式。
现存问题或期望目标 对于功能的建议,请说明具体的场景,现在的代码为什么无法实现需求。 对于代码设计方面的建议,请说明目前的问题所在。
是有这个不便,我们考虑一下。
已发布 4.5.0 修复该问题。
QMUICommonTableViewController 使用search controller 的时候
使用的是默认的初始化方法: self.searchController = [[QMUISearchController alloc] initWithContentsViewController:self];
能否改成 self.searchController = [[QMUISearchController alloc] initWithContentsViewController:self resultsTableViewStyle:self.tableView.style];
想让search controller 跟 自己的tableViewController 的样式一致。或者提供个选项自己决定样式。
现存问题或期望目标 对于功能的建议,请说明具体的场景,现在的代码为什么无法实现需求。 对于代码设计方面的建议,请说明目前的问题所在。