In my app, I am using UISearchBar
in a custom UIView
.
Following is the code to display the UISearchBar
.
searchBar = [[UISearchBar alloc] initWithFrame:CGRectMake(50, 135, 230, 32)];
searchBar.barTintColor = [UIColor clearColor];
searchBar.placeholder = @"Search";
[self addSubview:searchBar];
In iOS 7.0.3, bartint color not showing,
However in iOS 7.1, the bartint color is not hiding.