title: iOS : Load image from plist file
body: <p>I am trying to show various images from a plist file into UIImageView , I wrote my code like this :</p>
  
  <pre><code>NSDictionary *picturesDictionary = [NSDictionary dictionaryWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"Photos" ofType:@"plist"]];    
      imageArray = [picturesDictionary objectForKey:@"PhotosArray"];
      PhotosInAlbum.image = [UIImage imageWithContentsOfFile:[imageArray objectAtIndex:1]];
  </code></pre>
  
  <p>But actually nothing happens, and my ImageView is empty ! also I have two buttons to forward backward images . </p>
  
  <p>Contents of Plist :
  <img src="https://i.stack.imgur.com/vpkGj.png" alt="enter image description here"></p>