I can not detect the double-tap in screen? Do i need to turn on the property in the project?
So i try this, but it doesn't work:
let tapRec = UITapGestureRecognizer()
tapRec.addTarget(self, action: #selector(GameScene.doubleTap))
tapRec.numberOfTapsRequired = 2
self.view!.addGestureRecognizer(tapRec)
@objc func doubleTap(){
print ("tap")
}