I want to display the locations in UITableView. Here I take one UITextField and UITableView. Now I want to display the name of location in the table view according to the keyword typed in the text field. Any one know how to do that? Please help me friends. The table view should bring up suggested places because sometimes user might misspell the city name or there might be the same city name in different country.
on bases of above image You can understand what exactly i need.
What you want is geocoding. You can fairly easily integrate calls to Google’s Geocoding API in your app – simply take the user input from the UITextField, send it in a request to Google, and parse the data that you get back to populate the data source for your UITableView. Google will even provide multiple suggestions in their response if there are multiple places that could match your query.