iOS 5 UIWebview Delegate: WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction

前端 未结 5 781
借酒劲吻你
借酒劲吻你 2020-12-16 22:38

I am using the delegate method shouldStartLoadWithRequest to catch link clicks and handle specific cases inside my app instead of allowing the webView

5条回答
  •  执笔经年
    2020-12-16 23:09

    Yet another cause for this error can be the fact that Autolayout is accidentally left enabled in the viewcontroller containing the webview. This happened to me while testing on iOS5.

提交回复
热议问题