Re: Snapshotting hidden UIViews
Re: Snapshotting hidden UIViews
- Subject: Re: Snapshotting hidden UIViews
- From: Michael Gardner <email@hidden>
- Date: Wed, 13 Jan 2010 21:46:34 -0600
On Jan 13, 2010, at 5:07 PM, glenn andreas wrote:
>
> On Jan 13, 2010, at 4:48 PM, Michael Gardner wrote:
>
>>
>> I also tried calling -drawRect: on my hidden view (after setting the context with UIGraphicsBeginImageContext()), but it doesn't seem to do anything.
>>
> Many built in views do not draw anything at all (and have no useful drawRect:) - all of their rendering is handled by the view's layer.
Ah, that explains that. But I'd still very much like to know why the layer's -renderInContext: doesn't work consistently when the view is hidden.
-Michael_______________________________________________
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