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....
UISwipeGestureRecognizer supports up and down swipes
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论