My question is already specified in the title: I would like to get rid of the black line drawn on the bottom of the UISearchBar. Any ideas?
Here’s an image of what I mean:

UPDATE:
I think that the line is part of the UITableView‘s tableHeaderView. I still don’t know how to remove it.
I fixed this by adding a
subviewto thesearchBar‘s view stack like so:Here,
self.searchBaris anUISearchBarpointer of my controller class.