且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

iOS Google Map自定义InfoWindow Xib错误

更新时间:2023-12-04 23:29:58

您需要设置委托:

class YourViewController: UIViewController, GMSMapViewDelegate

在您的viewDidLoad()方法中

In your viewDidLoad() method

mapView.delegate = self