It is said that a Swipe Gesture UISwipeGestureRecognizer cannot tell the ending location of the swipe (which is kind of strange), and that we need to use UIPanGestureRecognizer instead, as described in this question: UISwipeGestureRecognizer Swipe length
But using that method, isn’t it the same if touchesBegan and touchesEnded is used instead? Is there a reason or advantage to use UIPanGestureRecognizer instead?
You can use either … depends on your choice. It actually depends on your requirement and what you really want to do. If you want to use
UITouchyou can go ahead .Also in the link you provided there is the last answer “You can only do it a standard way: remember the touch point of touchBegin and compare the point from touchEnd.”
So touches is a lengthier method whereas using gestures makes your code look less .