I am using GoogleMaps SDK in my iOS application. I have implemented custom info window for GoogleMaps and calling it my ViewController as,
func mapView(mapView: GMSMapView!, markerInfoContents marker: GMSMarker!) -> UIView! {
var calloutView:CalloutView = NSBundle.mainBundle().loadNibNamed("CalloutView", owner: self, options: nil)[0] as! CalloutView
views!.detailDisclosure.addTarget(self, action: "detailDisclosureButton_Clicked:", forControlEvents: UIControlEvents.TouchUpInside)
views.labelText.text = "ABC Text"
return views
}
And getting output as below
Info window overlapping and showing bottom edges as below. Also button on info window not getting clicked. Please help for the same.