I would like to enter the city name in the UISearchBar,then the map will jump to the current city.
How to do it?
I would like to enter the city name in the UISearchBar,then the map will jump to the current city.
How to do it?
You would need some kind of NSDictionary which would contain all of the city names with their map references (lat/long) maybe this could be integrated with google maps or some other mapping software. Otherwise you will need to attain or build the dictionary manually. Once you have the map reference you could scroll the map to the right location.