In my application, I have created a CALayer (with a few sublayers - the CALayer is composed of shapes added as sublayers).
I am trying to create a UIImage 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 CALayer to a UIImage.
Is this possible?