I'm currently developing an application that has a MapView as the main view. I want to have a search button in the navigation bar that brings up a search bar within the same navigation bar.
If you've used the Twitter app you'll know what I'm talking about.
I've seen a ton of guides and tutorials that show how to implement something similar to this in a table view however this isn't what I want to do.
Can anyone tell me what the best way to do this would be?
As somebody answered very quickly pointed out - my question looks very similar to this question. However nothing on that question seemed to work for me and it doesn't address the issue of getting the search bar to appear on a button press.
As it is right now my search doesn't need a SearchViewController
as all it does is use an MKLocalSearch
to position the MapView