Setting direction for UISwipeGestureRecognizer
Seems like there is a bug. You can specify the allowed direction(s) as you did. But when you try to access the actual direction that triggered the swipe in the action selector method you still get the bit mask you originally set (for the allowed directions). This means that checks for the actual direction will … Read more