Can I make this with standard iOS UIKit
?
When I google for UISearchBar
, all tutorials come with UITableView
. Which is not what I want.
I want this search bar to be
- floating on top of everything
- show drop down list of possible matching options when the user types
to make searchbar like this you want to insert Button in Navigation bar controller and set background image as
search.png
(your image). so, when user click on this button set target assearchbar
will be open. please check below code for your reference.First of all set delegate method in you
.h
file.then Insert button in your nevigationbar.
Now you have to set searchcontroller on
clickme
your button method.when you click on search icon