var camera: GMSCameraPosition = GMSCameraPosition.cameraWithLatitude(-33.86, longitude: 151.20, zoom: 6);
var gmaps: GMSMapView = GMSMapView.mapWithFrame(CGRectZero, camera:camera);
gmaps.myLocationEnabled = true
gmaps.delegate = self
self.view=gmaps
I got this error :
2014-08-15 17:22:43.749 MapTest[1579:60b] -[GMSMapView animateToCameraPosition:]: unrecognized selector sent to instance 0x17dbf550
2014-08-15 17:22:43.756 MapTest[1579:60b] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GMSMapView animateToCameraPosition:]: unrecognized selector sent to instance 0x17dbf550'