For the UISwipeGestureRecognizer, when I use direction = .left, it works.
However, when I use direction = .right, it does not work
Does anyone have any idea why this happens?
However, when I use direction = .right, it does not work
Code Block swift // swipeGesture is the UISwipeGestureRecognizer if (swipeGesture.direction = .right) { // Code does not run } else if (swipeGesture.direction = .left) { // Code runs }
Does anyone have any idea why this happens?