set mapView.delegate with Google Maps iOS SDK 1.4
问题 I just updated from Google Maps iOS SDK 1.3.1 to 1.4 and now my app crashes when I set the delegate like mapView_.delegate = self . If I delete this line my delegate methods are not called. How can I set the delegate in v 1.4? Thanks 回答1: Hope you have added the googlemaps framework and bundle correctly. Ensure your header file has @interface yourViewController : UIViewController<GMSMapViewDelegate> In your implementation file ensure that you set the delegate only after initialising your