Closed MoDaBao closed 3 years ago
Bug 表现
因为需要搜索功能的那个页面列表是用UICollectionView写的, QMUISearchController的searchBar 没有放在tableViewHeader中使用 而是直接[self.view addSubview:self.searchController.searchBar]; 并且设置了约束 设置hidesNavigationBarDuringPresentation属性为YES 结果searchBar在导航栏隐藏的时候显示不正确
截图
其他信息
无法重现
我在iphone6plus iOS版本为12.5.3 真机运行Demo也会出现显示不正确的问题
刚自己的业务代码跑了一下iOS14.4的模拟器 位置是没问题 显示也是有点问题 业务代码如下
Bug 表现
因为需要搜索功能的那个页面列表是用UICollectionView写的, QMUISearchController的searchBar 没有放在tableViewHeader中使用 而是直接[self.view addSubview:self.searchController.searchBar]; 并且设置了约束 设置hidesNavigationBarDuringPresentation属性为YES 结果searchBar在导航栏隐藏的时候显示不正确
截图
其他信息