问题
Hello!
I want to make Custom Marker InfoWindow Using Swift & Xib
- Create Xib - size width:200 / Height: 200
- But Not change Size in App
- So I'm doing set size in program programmatically Infowindow.frame.size.width = 200 Infowindow.frame.size.height = 200
- Now change size!
by the way, I want to change size in Xib, but It was now working... How can I do?
回答1:
You need to set delegate:
class YourViewController: UIViewController, GMSMapViewDelegate
In your viewDidLoad() method
mapView.delegate = self
来源:https://stackoverflow.com/questions/33748622/ios-google-map-custom-infowindow-xib-error