We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
截图
如何重现
self.searchController = [[UISearchController alloc] initWithSearchResultsController:SearchResultController.new]; self.searchController.searchResultsUpdater = self; self.searchController.searchBar.placeholder = @"点我搜索啊"; self.tableView.tableHeaderView = self.searchController.searchBar;
Demo:TestSearchController.zip
Lookin:QMUIDemo#1473.lookin.zip
预期的表现
搜索结果列表顶部和 searchBar 应该贴合在一起。
其他信息
The text was updated successfully, but these errors were encountered:
建议这里不要让系统自动调整 scrollView.contentInset,因为在搜索结果列表 push 进入下一级界面时 navigationBar 会经历隐藏→显示的切换,这个切换过程,scrollView.contentInset 也会跟着跳变,导致列表跳动。所以干脆将 contentInsetAdjustmentBehavior 设置为 Never 来避免 bug 及跳动。
Sorry, something went wrong.
已发布 4.7.0 修复该问题。
No branches or pull requests
截图
如何重现
Demo:TestSearchController.zip
Lookin:QMUIDemo#1473.lookin.zip
预期的表现
搜索结果列表顶部和 searchBar 应该贴合在一起。
其他信息
The text was updated successfully, but these errors were encountered: