Snapshotting hidden UIViews
Snapshotting hidden UIViews
- Subject: Snapshotting hidden UIViews
- From: Michael Gardner <email@hidden>
- Date: Tue, 12 Jan 2010 14:18:05 -0600
I'm trying to create a "snapshot" UIImage from a UITextView that's inside a larger, hidden UIView. renderInContext: works fine for visible UIView layers, but I can't get consistent results for hidden views.
I read somewhere (can't recall the source, but it wasn't authoritative) that this is expected behavior, and that -renderInContext: is only guaranteed to work for visible UIViews' layers. Is this true? If so, how else can I replicate *exactly* what my UITextView would look like when visible?
-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