viewControllerA:rootViewController of navigationController
viewControllerB:将被推入viewControllerA的navigationController
viewDidLoad中,设置interactivePopGestureRecognizer.delegateself.navigationController.interactivePopGestureRecognizer.delegate = self;2-1。推送任何viewControllerB。在viewControllerB的视图出现后,回拨=> viewControllerB将是pop,viewControllerA将再次出现(好)
2-2。在viewControllerA上是topViewController,向后滑动(没有变化,因为navigationController中没有viewController )
=> (问题!)然后推送controllerB,我希望控制器B的视图会出现,但是没有什么改变,每个点击事件都不起作用。
我该如何解决这个问题?
发布于 2017-01-19 15:00:39
你试过删除这条线吗?
self.navigationController.interactivePopGestureRecognizer.delegate = self;我认为如果您使用导航控制器正确地按下控制器,则没有必要
https://stackoverflow.com/questions/41743240
复制相似问题