title: How to implement location search using google maps in ios?
body: <p>I am building an iOS app.I am using storyboards to build the screens and i have integrated google map in my project.</p>
  
  <p>I want to get location where tap in the map and want to show that location in a label like in Airbnb app.I’m unable to do that,could someone help.</p>
  
  <p>here is my code:</p>
  
  <pre><code>- (void)viewDidLoad {
     [super viewDidLoad];
     GMSCameraPosition *camera = [GMSCameraPosition cameraWithLatitude:-33.86
                                                              longitude:151.20
                                                                   zoom:6];
     mapView_ = [GMSMapView mapWithFrame:CGRectZero camera:camera];
  
     mapView_.myLocationEnabled = YES;
     self.view = mapView_;
     GMSMarker *marker = [[GMSMarker alloc] init];
     marker.position = CLLocationCoordinate2DMake(-33.86, 151.20);
     marker.title = @"Sydney";
     marker.snippet = @"Australia";
     marker.map = mapView_;
  }
  </code></pre>
  
  <p>Help is appreciated!</p>