我需要关闭自动手势滑动才能返回导航 Controller 。我使用 Swift。
我已经搜索过但没有找到适合我的解决方案。
最佳答案
您可以禁用导航 Controller 的 interactivePopGestureRecognizer
:
self.navigationController?.interactivePopGestureRecognizer.enabled = false
关于objective-c - 如何关闭自动滑动返回导航 Controller ? swift ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28943151/