title: Cannot assign a value of type '[PHAsset]' to type 'UIImageView!'
body: <blockquote>
    <p>Cannot assign value of '[PHAsset]' to type 'UIImageView!'</p>
  </blockquote>
  
  <p>I'm having an issue here:</p>
  
  <p><a href="https://i.stack.imgur.com/3DlhO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3DlhO.png" alt="enter image description here"></a></p>
  
  <p><strong>UPDATED QUESTION</strong></p>
  
  <pre><code>    // CONVERT PHASSET TO UIIMAGE
  func getAsset(asset: PHAsset) -&gt; UIImage {
      let manager = PHImageManager.defaultManager()
      let option = PHImageRequestOptions()
      var image = UIImage()
      option.synchronous = true
      manager.requestImageForAsset(asset, targetSize: CGSize(width: 100.0, height: 100.0), contentMode: .AspectFit, options: option, resultHandler: {(result, info)-&gt;Void in
          image = result!
      })
      return image
  }
  
  
  
  
  func doneButtonDidPress(images: [UIImage]) {
  
  
  
      self.imagePickerController.dismissViewControllerAnimated(true, completion: nil)
      var selectedImg = imagePickerController.stack.assets
  
      getAsset(selectedImg)
      self.SelectImageView.image = UIImage(named: chosenImg)
  
  
  
      }
  </code></pre>
  
  <p>But yet i get errors as shown in the image below</p>
  
  <p><a href="https://i.stack.imgur.com/WICav.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WICav.png" alt="enter image description here"></a></p>