title: Using NSURLSessionDownloadTask to display an image
body: <p>I was wondering if someone could help me out. I'm trying to use NSURLSessionDownloadTask to display a picture in my UIImageView if I put the image URL into my textfield. </p>
  
  <pre><code>-(IBAction)go:(id)sender { 
       NSString* str=_urlTxt.text;
       NSURL* URL = [NSURL URLWithString:str];
       NSURLRequest* req = [NSURLRequest requestWithURL:url];
       NSURLSession* session = [NSURLSession sharedSession];
       NSURLSessionDownloadTask* downloadTask = [session downloadTaskWithRequest:request];
  }
  </code></pre>
  
  <p>I am not sure where to go after this. </p>