I would like to have a UISearchBar with a solid color rather than a gradient.
I have this:
UISearchBar *mySearchBar = [[UISearchBar alloc] initWithFrame:self.tableView.bounds];
[mySearchBar sizeToFit];
mySearchBar.showsCancelButton = NO;
mySearchBar.tintColor = [UIColor colorWithRed:0.976 green:0.489 blue:0.0824 alpha:1.0];
And it gives me a gradient. How can I make it a solid color?