title: Alternative to imageNamed
body: <p>In iOS, using Objective-C, I'm trying to give to a composer an image. I pick that image from gallery or camera, and I called it:</p>
  
  <pre><code>@property (weak, nonatomic) UIImage *image;
  </code></pre>
  
  <p>So, now I should set it to my composer, but imageNamed doesn't work by using this code</p>
  
  <pre><code>[composer setImage:[UIImage imageNamed:"imagename"];
  </code></pre>
  
  <p>is there any alternative to set my image to that composer?</p>
  
  <p>I said that I pick that image from gallery or camera, so it is stored locally 
  picked from here:  </p>
  
  <pre><code>UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init]; 
  imagePicker.allowsEditing = YES;
  imagePicker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;    
  imagePicker.delegate = self;
  [self presentViewController:imagePicker animated:YES completion:NULL];
  </code></pre>
  
  <p>stored in this way:</p>
  
  <pre><code> _image = info[UIImagePickerControllerEditedImage];
   self.imageView.image = _image;
  </code></pre>