UINavigationController Interactive Pop Gesture Not Working?

前端 未结 10 1461
你的背包
你的背包 2020-12-13 10:02

So I have a navigation controller in my built for iOS 7 app. The titleView is visible, as well as the back button and navigation bar its self. For some reason, the interac

10条回答
  •  心在旅途
    2020-12-13 10:16

    Eh, looks like I just had to set the gesture delegate and implement the following:

    -(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer {
    
        return YES;
    
    }
    

提交回复
热议问题