Can anyone help me with this?
I am looking to place a searchBar inside of a navigationBar, but under the Title (reason for doing so is that I would like one image for the NavigationBar & SearchBar) Having issues with the <= 1px shadow from NavigationBar. I have accomplished putting the searchBar inside the NavigationItem "Title" but I want it to be below it. Here is what I'm using to put the searchBar inside the NavBar:
func createSearchBar()
{
let searchBar = UISearchBar()
searchBar.showsCancelButton = false
searchBar.placeholder = "Search"
searchBar.delegate = self
self.navigationItem.titleView = searchBar
}