|
@@ -293,6 +293,12 @@
|
|
if (searchButton && [searchButton isKindOfClass:[UIButton class]]) {
|
|
if (searchButton && [searchButton isKindOfClass:[UIButton class]]) {
|
|
[searchButton setTitleColor:NCBrandColor.sharedInstance.brandText forState:UIControlStateNormal];
|
|
[searchButton setTitleColor:NCBrandColor.sharedInstance.brandText forState:UIControlStateNormal];
|
|
}
|
|
}
|
|
|
|
+ // color textview searchbbar
|
|
|
|
+ UITextField *searchTextView = [self.searchController.searchBar valueForKey:@"searchField"];
|
|
|
|
+ if (searchTextView && [searchTextView isKindOfClass:[UITextField class]]) {
|
|
|
|
+ searchTextView.backgroundColor = NCBrandColor.sharedInstance.backgroundForm;
|
|
|
|
+ searchTextView.textColor = NCBrandColor.sharedInstance.textView;
|
|
|
|
+ }
|
|
|
|
|
|
// Title
|
|
// Title
|
|
[self setTitle];
|
|
[self setTitle];
|
|
@@ -1288,6 +1294,12 @@
|
|
if (searchButton && [searchButton isKindOfClass:[UIButton class]]) {
|
|
if (searchButton && [searchButton isKindOfClass:[UIButton class]]) {
|
|
[searchButton setTitleColor:NCBrandColor.sharedInstance.brandText forState:UIControlStateNormal];
|
|
[searchButton setTitleColor:NCBrandColor.sharedInstance.brandText forState:UIControlStateNormal];
|
|
}
|
|
}
|
|
|
|
+ // color textview searchbbar
|
|
|
|
+ UITextField *searchTextView = [self.searchController.searchBar valueForKey:@"searchField"];
|
|
|
|
+ if (searchTextView && [searchTextView isKindOfClass:[UITextField class]]) {
|
|
|
|
+ searchTextView.backgroundColor = NCBrandColor.sharedInstance.backgroundForm;
|
|
|
|
+ searchTextView.textColor = NCBrandColor.sharedInstance.textView;
|
|
|
|
+ }
|
|
|
|
|
|
self.tableView.tableHeaderView = self.searchController.searchBar;
|
|
self.tableView.tableHeaderView = self.searchController.searchBar;
|
|
[self.tableView setContentOffset:CGPointMake(0, self.searchController.searchBar.frame.size.height - self.tableView.contentOffset.y)];
|
|
[self.tableView setContentOffset:CGPointMake(0, self.searchController.searchBar.frame.size.height - self.tableView.contentOffset.y)];
|