iOS在UIViewController添加webview后侧滑失效
可以添加如下方法解决
- (void)viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];
self.navigationController.interactivePopGestureRecognizer.delegate = self;
}
如果有警告是没有遵循代理 UIGestureRecognizerDelegate
iOS在UIViewController添加webview后侧滑失效
可以添加如下方法解决
- (void)viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];
self.navigationController.interactivePopGestureRecognizer.delegate = self;
}
如果有警告是没有遵循代理 UIGestureRecognizerDelegate
本文标题:添加webview侧滑失效
本文链接:https://www.haomeiwen.com/subject/dnntsttx.html
网友评论