title: swift void SendDelegateMessage.. webView:decidePolicyForNavigationActionfailed to return after waiting 10 seconds... kCFRunLoopDefaultMode
body: <p>I create app with ios 7 and ios 8 compatible but UIWebview on ios 7 delegete never called and i get </p>
  
  <blockquote>
    <p>void SendDelegateMessage(NSInvocation *): delegate
    (webView:decidePolicyForNavigationAction:request:frame:decisionListener:)
    failed to return after waiting 10 seconds. main run loop mode:
    kCFRunLoopDefaultMode</p>
  </blockquote>
  
  <p>I search on internet but no sollution
  4 day trying with no lucky..</p>
  
  <pre><code>    class AWTncViewController: UIViewController, UIWebViewDelegate{
   @IBOutlet weak var wv: UIWebView!
  
      deinit {
          NSNotificationCenter.defaultCenter().removeObserver(self)
          wv.delegate = nil
  
      }
  
      override func viewDidLoad() {
          super.viewDidLoad()
  
  
          super.viewDidLoad()
          self.wv.delegate = self;
          let myHTMLString:String! = "&lt;h1&gt;Hello word!&lt;/h1&gt;"
          self.wv.loadHTMLString(myHTMLString, baseURL: nil)
       }
      override func viewDidAppear(animated: Bool) {
          super.viewDidAppear(animated)
         /* Test 2 still not load
           let myHTMLString:String! = "&lt;h1&gt;Hello word!&lt;/h1&gt;"
          self.wv.loadHTMLString(myHTMLString, baseURL: nil)
         */
      }
  
  
  
      func webView(webView: UIWebView, shouldStartLoadWithRequest request: NSURLRequest, navigationType: UIWebViewNavigationType) -&gt; Bool {
          //this never called
          println("shouldStartLoadWithRequest execute") 
          return true
      }
  
      func webView(webView: UIWebView, shouldStartLoadWithRequest request: NSURLRequest, navigationType: UIWebViewNavigationType) -&gt; Bool
      {
          //this never called
      println("shouldStartLoadWithRequest execute")
           return true
  
      }
  
      func webViewDidStartLoad(webView: UIWebView)
      {
         //this never called
          println("Start load")
      }
      func webViewDidFinishLoad(webView: UIWebView)
      {
          //this never called
          println("FinishLoad")
      }
      func webView(webView: UIWebView, didFailLoadWithError error: NSError)
      {
          //this never called
          println("didFailLoadWithError: \(error.description)")
      }
  
  
  
  
  
      override func didReceiveMemoryWarning() {
          super.didReceiveMemoryWarning()
  
      }
  
  
  
  }
  </code></pre>
  
  <p>I read this :<a href="https://stackoverflow.com/questions/19066066/ios-7-uiwebview-not-rendering">iOS 7 UIWebView not rendering</a></p>
  
  <p>But i'm not use Crittercism</p>