title: UIImage from CALayer in iOS
body: <p>In my application, I have created a <code>CALayer</code> (with a few sublayers - the CALayer is composed of shapes added as sublayers).</p>
  
  <p>I am trying to create a <code>UIImage</code> that I will be able to upload to a server (I have the code for this).
  However, I can't figure out how to add the <code>CALayer</code> to a <code>UIImage</code>.</p>
  
  <p>Is this possible?</p>