Search This Blog

Saturday, November 27, 2010

CGImage (or UIImage) from a CALayer

Programmer Question

Hi all,



I have created a CALayer
(I added several shapes to the layer, but ultimately, I have a single CALayer), and I am having a LOT of trouble adding it to a CGImage. I have found some references to [CALayer renderInContext:ctx], but I am not sure how to implement it.



Has anyone done this before?



Cheers,
Brett



Find the answer here

No comments:

Post a Comment

Related Posts with Thumbnails