• 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: UITableView.layer renderInContext: after setContentOffset ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UITableView.layer renderInContext: after setContentOffset ?


  • Subject: Re: UITableView.layer renderInContext: after setContentOffset ?
  • From: David Duncan <email@hidden>
  • Date: Mon, 05 Jul 2010 14:30:44 -0700

The table view lays out views to provide it's content, so it is likely that your content isn't in position at that point. The best advice in general is to not use renderInContext: for anything that isn't destined to be put immediately back on screen. Even in that case, there are pitfalls as renderInContext does not implement the full Core Animation compositing model.
--
David Duncan

On Jul 5, 2010, at 12:01 PM, Chaitanya Pandit <email@hidden> wrote:

> Hi, List
> I'm trying to create an image out of a UITableView using the layer's renderInContext Method, however my problem is that i have to create an image of the specific portion of the tableView
> So i call setContentOffset and then try to generate the image, however this doesn't work and I get a totally black Image, it works if i don't set the contentOffset.
> Any idea?
>
> and sorry for the earlier email i hit send before was done editing the email
>
> Thanks,
> Chaitanya_______________________________________________
>
> 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
_______________________________________________

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: 
 >UITableView.layer renderInContext: after setContentOffset ? (From: Chaitanya Pandit <email@hidden>)

  • Prev by Date: Re: Custom bundle icon
  • Next by Date: Re: Run application before Login starts?
  • Previous by thread: UITableView.layer renderInContext: after setContentOffset ?
  • Next by thread: CoreData Problems
  • Index(es):
    • Date
    • Thread