Possible Duplicate:
How to search MKMapView with UISearchBar?
I have one UISearchBar with MKMapView with google maps. I need suggestions whenever i started typing. So what should i need to do for that ? Is there any web service for google api ?
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.
Use
CLGeocoderto generate address results based on a string.This is known as
forward geocoding.You’ll get a number of placemarks returned which you can populate into your UI.
http://developer.apple.com/library/ios/#documentation/CoreLocation/Reference/CLGeocoder_class/Reference/Reference.html
Quick example here:
You can also restrict results to a set region if specific, that’s all documented at the link above.