A for Alpha
A for Alpha

Reputation: 2912

How to recognize vertical swipe in iPad/iPhone

I have a custom view and when the user *SWIPES ON IT VERTICALLY * (up or down), i want to present another view on it. I'v gone through UISwipeGestureRecognizer and found that it recognizes only left or right swipe. Is there any way where in i can recognize Vertical swipe and initiate a action based on it....

Upvotes: 0

Views: 584

Answers (1)

ssj
ssj

Reputation: 881

UISwipeGestureRecognizer supports up and down swipes

Upvotes: 3

Related Questions