• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Snapshotting hidden UIViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Snapshotting hidden UIViews (From: Matt Neuburg <email@hidden>)
 >Re: Snapshotting hidden UIViews (From: Michael Gardner <email@hidden>)
 >Re: Snapshotting hidden UIViews (From: glenn andreas <email@hidden>)
 >Re: Snapshotting hidden UIViews (From: Michael Gardner <email@hidden>)
 >Re: Snapshotting hidden UIViews (From: glenn andreas <email@hidden>)
 >Re: Snapshotting hidden UIViews (From: Michael Gardner <email@hidden>)

  • Prev by Date: Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 !
  • Next by Date: Re: Best practice example for a setup wizard?
  • Previous by thread: Re: Snapshotting hidden UIViews
  • Next by thread: Re: Snapshotting hidden UIViews
  • Index(es):
    • Date
    • Thread