void SendDelegateMessage(NSInvocation *): delegate (webView:decidePolicyForNavigationAction:request:
解决这个问题的方法:
[WebView stopLoading];
}
解决这个问题的方法:
- (void)dealloc {
WebView.delegate = nil;[WebView stopLoading];
}
本文介绍了一种解决WebView中delegate消息发送问题的方法。通过在dealloc方法中将WebView的delegate设置为nil并停止加载,可以有效避免内存泄漏及无效消息发送的问题。
3280

被折叠的 条评论
为什么被折叠?



