Browse Source

option search

Marino Faggiana 8 năm trước cách đây
mục cha
commit
fd6e7b6adb
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      iOSClient/Main/CCMain.m

+ 2 - 1
iOSClient/Main/CCMain.m

@@ -1983,7 +1983,8 @@
 - (void)searchBar:(UISearchBar *)searchBar selectedScopeButtonIndexDidChange:(NSInteger)selectedScope
 {
     NSString *title = [self.searchController.searchBar.scopeButtonTitles objectAtIndex:selectedScope];
-    
+    self.searchController.searchBar.placeholder = title;
+
     if ([title isEqualToString:NSLocalizedString(@"_search_this_folder_",nil)])
         _depth = @"0";