In my ViewController i have mapView - maps. In map, if user double tap, map zoom in. It is default option, i did not set it up. I add UITapGestureRecognizer, because i work with single tap. But when i double tap, work twice single tap. I don't want write method for double tap, because mapView understand it. I think that UITapGestureRecognizer must work with single tap, and don't work when double tap. My code:
let tapTap = UITapGestureRecognizer(target: self, action: #selector(getObjectProperties))
tapTap.numberOfTapsRequired = 1
tapTap.delegate = self
mapView.addGestureRecognizer(tapTap)
How i can
you need to add the require(toFail:) method. like this
uiTapGestureRecognizer1.require(toFail:uiTapGestureRecognizer2)here is the command in context