浏览代码

fix searchbar

Marino Faggiana 7 年之前
父节点
当前提交
73d827f341
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/Main/CCMain.m

+ 1 - 1
iOSClient/Main/CCMain.m

@@ -198,7 +198,7 @@
     
     if (@available(iOS 11, *)) {
         self.navigationItem.searchController = self.searchController;
-        self.navigationItem.hidesSearchBarWhenScrolling = false;
+        self.navigationItem.hidesSearchBarWhenScrolling = true;
         self.navigationItem.searchController.searchBar.tintColor = [UIColor whiteColor];
         
         UITextField *textField = [self.searchController.searchBar valueForKey:@"searchField"];