3

I am loading my webview with running image(banner) while continuously load webview . but sometimes i got warning of

void SendDelegateMessage(NSInvocation*): delegate (webView:decidePolicyForNavigationAction:request:frame:decisionListener:) failed to return after waiting 10 seconds. main run loop mode: kCFRunLoopDefaultMode

and hanged for some times.

webview loading data in the form of HTML (Not javascript in HTMl).

please suggest me, how to handle this warning .

thanks in advance.

Nate Hekman
  • 6,507
  • 27
  • 30
Mahesh
  • 317
  • 1
  • 3
  • 17

2 Answers2

1

I think the problem is solved with the update from today (iOS 6.1 SDK) and I also think it is related to the simulator. I think it is about interfering outgoing requests from skpaymenttransaction and other UIWebView... I am not sure about anything, however...

Gabrail
  • 216
  • 2
  • 16
-1

this worked for me

 - (void) dealloc
 {
 if(webView){
 [webView stopLoading];
 webView.delegate = nil;
 }
 }
YoungHobbit
  • 13,254
  • 9
  • 50
  • 73