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" <gardne...@gmail.com>
To: <cocoa-dev@lists.apple.com>
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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to