How can I load default mapview toolbar and search bar in Iphone when I am loading mkmapview from my viewcontroller class
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t get the search toolbar which you called default and the reason is that Map Application that’s developed by Apple may have both (search toolbar and mapview ) separated with each others.
So, would suggest you to use both as the separate views.
myCustomSearchToolBarcan be either the instance of your Custom search bar view OrUISearchBar.Go through the below blog post for creating UISearchBar.
Building a SearchView with UISearchBar and UITableView