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 <chaita...@expersis.com> 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 (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/david.duncan%40apple.com > > This email sent to david.dun...@apple.com _______________________________________________ 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