title: Load image from file and showing it in UIImageView, not working after Xcode 5/IOS 7
body: <p>So i just upgraded to Xcode 5, and set the deployment target to 7.0. And although my app looks amazing, i got this small problem. </p>
  
  <p>In init in my ScreenshotViewController i do this: </p>
  
  <pre><code>pics = [[NSArray alloc] initWithContentsOfFile:[self dataFilePath]];
  </code></pre>
  
  <p>dataFilePath method beeing:</p>
  
  <pre><code>- (NSString *)dataFilePath
  {
      NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
      NSString *documentsDirectory = [paths objectAtIndex:0];
      return [documentsDirectory stringByAppendingPathComponent:@"screenshots.archive"];
  }
  </code></pre>
  
  <p>In my UITableViewController subclass i init a ScreenshotViewController(which basically just shows an image on a UIImageView), and set its image. </p>
  
  <pre><code>ScreenshotViewController *ssv = [[ScreenshotViewController alloc]init];
  
  [[self navigationController]pushViewController:ssv animated:YES];
  NSInteger row = indexPath.row;
  UIImage * pic = [UIImage imageWithData:[pics objectAtIndex:row]];
  
  [ssv.image setImage:pic];
  </code></pre>
  
  <p>This worked perfect before the updates, but now the UIImageView receives no image. 
  Im checking this by noting that an image is no longer copied to my photo albums when executing this:</p>
  
  <pre><code>UIImageWriteToSavedPhotosAlbum(self.image.image, nil, nil, nil);
  </code></pre>
  
  <p>So any suggestions what might have happened? </p>