Re: Snapshotting hidden UIViews
Re: Snapshotting hidden UIViews
- Subject: Re: Snapshotting hidden UIViews
- From: "Paul Sanders" <email@hidden>
- Date: Thu, 14 Jan 2010 17:41:34 -0000
You could try making it not opaque (i.e. have isOpaque return
NO). Then the view should get drawn, even if it is subsequently
over-painted by another view positioned on top of it. That's
how it works in Cocoa, at least. Calling setNeedsDisplay on the
(common) parent view ought to do it but you will need to return
to the run loop before anything actually happens of course.
Paul Sanders.
----- Original Message -----
From: "Michael Gardner" <email@hidden>
To: <email@hidden>
Sent: Thursday, January 14, 2010 5:22 PM
Subject: Re: Snapshotting hidden UIViews
By the way, I tried the trick Matt suggested earlier in the
thread, by obscuring my view behind another one instead of
making it hidden. It didn't work. Is UIKit smart enough to know
that a view behind another (opaque) view is effectively hidden?
_______________________________________________
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