UINavigationController Interactive Pop Gesture Not Working?

前端 未结 10 1462
你的背包
你的背包 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:22

    In Swift 4, I have a UITableView inside my view controller, I solved this issue with:

    override func viewDidLoad() {
        super.viewDidLoad()
        self.navigationController?.interactivePopGestureRecognizer?.delegate=nil
    }
    

提交回复
热议问题