Hello all,
Is there a known issue with UISwipeGestureRecognizers in tvOS with SpriteKit? My swipe gestures just don't seem to be getting called. I have the following in my didMoveToView:
let swipeDown = UISwipeGestureRecognizer(target: self, action: "swiped:")
swipeDown.direction = UISwipeGestureRecognizerDirection.Down
view.addGestureRecognizer(swipeDown)
let swipeUp = UISwipeGestureRecognizer(target: self, action: "swiped:")
swipeUp.direction = UISwipeGestureRecognizerDirection.Up
view.addGestureRecognizer(swipeUp)
let swipeLeft = UISwipeGestureRecognizer(target: self, action: "swiped:")
swipeLeft.direction = UISwipeGestureRecognizerDirection.Left
view.addGestureRecognizer(swipeLeft)
let swipeRight = UISwipeGestureRecognizer(target: self, action: "swiped:")
swipeRight.direction = UISwipeGestureRecognizerDirection.Right
view.addGestureRecognizer(swipeRight)
I have tap gestures that are called without any issues, but for some reason the swipe gestures aren't being recognized.
Any help would be greatly appreciated. Thanks!