Skip to content

QMUISearchController 的tableViewStyle 样式 #1425

@276523923

Description

@276523923

QMUICommonTableViewController 使用search controller 的时候

使用的是默认的初始化方法:
self.searchController = [[QMUISearchController alloc] initWithContentsViewController:self];

能否改成
self.searchController = [[QMUISearchController alloc] initWithContentsViewController:self resultsTableViewStyle:self.tableView.style];

想让search controller 跟 自己的tableViewController 的样式一致。或者提供个选项自己决定样式。

现存问题或期望目标
对于功能的建议,请说明具体的场景,现在的代码为什么无法实现需求。
对于代码设计方面的建议,请说明目前的问题所在。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions