• 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: 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

  • Follow-Ups:
    • Re: Snapshotting hidden UIViews
      • From: glenn andreas <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>)

  • Prev by Date: Re: How to enable/disable a UITextField or UITextView programmatically?
  • Next by Date: setting a preference pane anchor name
  • Previous by thread: Re: Snapshotting hidden UIViews
  • Next by thread: Re: Snapshotting hidden UIViews
  • Index(es):
    • Date
    • Thread