title: Buttons's images from url -failed to return after waiting 10 seconds. main run loop mode: kCFRunLoopDefaultMode
body: <p>I have an URL which contain a json format.</p>
  
  <pre><code>{
        "name":"RAI Radiodue",
        "cat":"Adult Contemporary",
        "img":"http://www.rai.it/dl/portaleRadio/images/ico_radio2.jpg",
        "url":"http://www.listenlive.eu/rai2.m3u"
     },
     {
        "name":"RAI Radiotre",
        "cat":"Classical/Culture",
        "img":"http://www.rai.it/dl/portaleRadio/images/ico_radio3.jpg",
        "url":"http://www.listenlive.eu/rai3.m3u"
     }........etc
  </code></pre>
  
  <p>I'm trying to display many radio button using this code:</p>
  
  <pre><code>    for (int i = 0;  i&lt;[namesArray count]; i++) {
  
          NSURL *url = [NSURL URLWithString: [pictureUrl objectAtIndex:i]];
  
          NSData *data = [NSData dataWithContentsOfURL:url];
          UIImageView *subview = [[UIImageView alloc] init];
          [subview setImage:[UIImage imageWithData:data]];
  
  
  
          UIButton *bt = [UIButton buttonWithType:UIButtonTypeCustom];
  
          int xxx = i%3;
          int yyy = i/3.0f;
          [bt setFrame:CGRectMake(35+95*xxx, 15+100*yyy, 60, 60)];
          [bt setBackgroundImage:subview forState:UIControlStateNormal];
  
          bt.tag = 200+i;
          bt.selected = NO;
          [bt.layer setMasksToBounds:NO];
          [bt.layer setShadowColor:[UIColor blackColor].CGColor];
          [bt.layer setShadowOpacity:0.8f];
          [bt.layer setShadowOffset:CGSizeMake(1.0f, 1.0f)];
          [bt addTarget:self action:@selector(Play:) forControlEvents:UIControlEventTouchUpInside];
          [mainscroll addSubview:bt];
  }
  </code></pre>
  
  <p>and adding for each button an image from pictureUrl which is populated , but when I want to go to this view controller So I get this output in my console:</p>
  
  <pre><code>2014-12-18 17:32:40.763 TV[3128:935103] NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
  2014-12-18 17:32:46.041 TV[3128:935134] void SendDelegateMessage(NSInvocation *): delegate (webView:decidePolicyForNavigationAction:request:frame:decisionListener:) failed to return after waiting 10 seconds. main run loop mode: kCFRunLoopDefaultMode.
  </code></pre>
  
  <p>What should I do ?</p>