-renderInContext: with multiple layers?
-renderInContext: with multiple layers?
- Subject: -renderInContext: with multiple layers?
- From: Rick Mann <email@hidden>
- Date: Mon, 15 Aug 2011 14:47:08 -0700
Hi. I have two UIView hierarchies, visually side-by side, but at different parts of an overall view hierarchy. I'd like to create a single UIImage of the two, using -renderInContext: and UIGraphicsGetImageFromCurrentImageContext(). I was able to make one work alone just fine. But when I make my graphics context (using UIGraphicsBeginImageContext()) large enough to encompass both, and set each UIView's frame so that they are side-by-side, the resulting image shows just the left-cell's content, squished horizontally.
Is it possible to render multiple layers into a single context?
--
Rick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden