title: UIImageView to UIImage?
body: <p>I want to upload an image to a server. I can do this and it works with a <code>UIImage</code>. However, I want to upload the current image being displayed in my application which is within a <code>UIImageView</code>. </p>
  
  <p>How can I pass, or temporarily store the <code>UIImageView</code> image within an <code>UIImage</code>? I have tried the following however it does not work. </p>
  
  <pre><code>UIImage *myImage = imageView.image; 
  </code></pre>