Title: Xcode Google Maps Search Bar
Tags: iphone;xcode;google-maps;google-maps-sdk-ios
Question: I'm making an iPhone location based app and I'm having trouble with the last aspect of it. I was wondering if anyone knows how to integrate a search bar that correlates with the map that we can use from MKMapView.
It's literally a search bar above the map that the user can type in an area and it will take them there.
Is this possible?
I've looked around for tutorials but I have only found how to make an app with a map view, annotations and adding callouts.

Here is the accepted answer: What you're looking for is geocoding - the process of turning an address in your search bar into a latitude/longitude coordinate, which you can then set the map's position to.
This question has two main answers. This answer shows how to geocode using a Google API, and this answer shows how to geocode using an Apple API.
If you're using MapKit (which uses Apple maps as of iOS 6.0), then you should probably use the Apple API (you are not supposed to use Google Maps APIs with non-Google maps).
If you're using the new Google Maps SDK for iOS, you might want to use the Google API for geocoding. Although note that the answer I've linked to is using the Google API with MapKit (as it was written back when MapKit was using Google Maps), so you would need to modify it a bit.
Comment for this answer: Thanks a lot Saxon! I will use second answer


{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2013:00:02/04/13', 'FavoriteCount': 1.0, 'PostTypeId': 1, 'Tags': '<iphone><xcode><google-maps><google-maps-sdk-ios>', 'Title': 'Xcode Google Maps Search Bar', 'ViewCount': 7226, 'id': 14691703, 'user_AboutMe': None, 'user_AccountId': 2244103.0, 'user_DisplayName': 'user1977908', 'user_Reputation': 1105.0, 'user_Views': 186.0, 'user_id': 1977908.0}}