I'm having trouble removing that 1px border directly under the UISearchBar view. Now it doesn't look matched up with my done button view. I've tried:
searchBar.layer.borderWidth = 0; searchBar.layer.shadowOpacity = 0;
But that doesn't seem to be working. Any ideas?
Nevermind, I just did:
searchBar.layer.borderWidth = 1; searchBar.layer.borderColor = [[UIColor whiteColor] CGColor];
and it works!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With