问题描述:

Hello!

I want to make Custom Marker InfoWindow Using Swift & Xib

  1. Create Xib - size width:200 / Height: 200
  2. But Not change Size in App
  3. So I'm doing set size in program programmatically

    Infowindow.frame.size.width = 200

    Infowindow.frame.size.height = 200

  4. Now change size!

by the way, I want to change size in Xib,

but It was now working...

How can I do?

网友答案:

You need to set delegate:

class YourViewController: UIViewController, GMSMapViewDelegate

In your viewDidLoad() method

mapView.delegate = self
相关阅读:
Top