I have 5 buttons; each allows touchUpInside-action and touchDragOutside-action...as well as doubleTap-action and longPress-action via tapGestureRecognizers.
I would also like to allow user to start a swipe from any UIButton and Any addition UIButton
that the swipe touches, these buttons (including first touch) perform their @IBAction func Swipe
.
so a continuously swipe like so
would perform @IBAction func swipe
for UIButtons
1,2,3,4 and 5.
You can try something like this:
(Edit: Here are a few answers I've written in the past explaining what I meant by
UISwipeGestureRecognizer
being a discrete gesture: stackoverflow.com/a/27072281/2274694, stackoverflow.com/a/25253902/2274694)