Marino Faggiana 7 anos atrás
pai
commit
d2aa94c159
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      iOSClient/Main/CCMain.m

+ 2 - 2
iOSClient/Main/CCMain.m

@@ -192,11 +192,11 @@
     self.definesPresentationContext = YES;
     self.searchController.searchResultsUpdater = self;
     self.searchController.dimsBackgroundDuringPresentation = NO;
-    self.tableView.tableHeaderView = self.searchController.searchBar;
     self.searchController.searchBar.barTintColor = [NCBrandColor sharedInstance].seperator;
     [self.searchController.searchBar sizeToFit];
     self.searchController.searchBar.delegate = self;
-    
+    self.tableView.tableHeaderView = self.searchController.searchBar;
+
     // Hide Search Filed on Load
     [self.tableView setContentOffset:CGPointMake(0, self.searchController.searchBar.frame.size.height - self.tableView.contentOffset.y)];
 }