一句代码搞定 导航返回全屏手势

[self.navigationController.interactivePopGestureRecognizer setValue:@([UIScreen mainScreen].bounds.size.width) forKeyPath:@"_recognizer._settings._edgeSettings._edgeRegionSize"];


添加到viewWillAppear 里面即可

你可能感兴趣的:(一句代码搞定 导航返回全屏手势)