- Я установил
VC.view = mapView
в VC.loadView
Метод - Затем я нажимаю на карту, я не могу получить событие в
touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event)
Что я могусделать так, чтобы я смог получить мероприятие в ВК?
- (void) loadView{
[super loadView];
*******
GMSMapView *mapView = [GMSMapView mapWithFrame:self.view.frame camera:camera];
mapView.myLocationEnabled = NO;
mapView.delegate = self;
mapView.settings.consumesGesturesInView = NO;
self.view = mapView;
self.mapView = mapView;
}
- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
NSLog(@"touchesBeganxxx");
}