TTTableViewCell background color issue on iPad devices #689

merged 2 commits into from Jan 5, 2012


None yet

4 participants

aporat commented Sep 23, 2011

iPad table cell backgrounds aren't completely white, they have a little dark gray color background. This is an issue, as the background colors in the default style sheet are set as white. this creates a ugly white overlay if you use TTTableView text cells.

This change just change the background to clearColor, which blends nicely into the background (on both iPad & iPhone)


I see this issue as well on the iPad, and this fixes it. But note TTThumbsViewController ends up with a black background by default since it also uses TTSTYLEVAR(backgroundColor).

aporat commented Sep 23, 2011

Yeah, i had the same issue as well.

we can either solve it by creating new styles just for the tables, such as tableBackgroundColor, or by updating the existing code to make sure the text background layer are white. I rather go over the TTViewControllers updates to avoid adding new styles



I agree, the latter is a better solution instead of creating new styles.

aporat commented Sep 26, 2011

the last commit fixes the issue with the background color in the photo controller, so it's okay to merge as far as I know..


just a bump, i'm seeing this on the iPhone 5.0 simulator and device as well. @aporat's fix worked perfectly to fix the problem.

aporat commented Jan 5, 2012

@diederich can you merge? it is a simple and important iPad fix


While this might have quite an performance impact, I agree the default should be clearColor.
Devs will find this issue during performance optimization anyways and can fix/change it then.

@diederich diederich merged commit 8f27f02 into facebookarchive:development Jan 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment