UIwebview的报错问题

iOS 码拜 8年前 (2016-06-07) 1117次浏览
void SendDelegateMessage(NSInvocation *): delegate (webView:didFirstVisuallyNonEmptyLayoutInFrame:) failed to return after waiting 10 seconds. main run loop mode: kCFRunLoopDefaultMode
各位高手,这个问题怎么解决?
解决方案

10

http://stackoverflow.com/questions/6489601/uiwebview-gets-stuck-with-the-following-message-in-console
参考这里,是不是你加载的网页里面有 js 执行超过10秒了?

10

http://stackoverflow.com/questions/6489601/uiwebview-gets-stuck-with-the-following-message-in-console
的那个作者的问题不是使用:stringByEvaluatingJavaScriptFromString 导致的,是view没有正确remove导致的,你看看是不是viewcontroller dismiss时没有处理正确。

CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明UIwebview的报错问题
喜欢 (0)
[1034331897@qq.com]
分享 (0)