Pattern alignment when using UILabel with groupTableViewBackgroundColor
I have severa开发者_Python百科l UILabels in table cells, and I thought I could set them to be opaque and then setBackgroundColor:[UIColor groupTableViewBackgroundColor]] to make them have the table background. The grouped table background color in the UILabel isn't aligned with the table's background, though, so the lines are broken. Is there any way to fix that alignment? Thanks.
You could set the background color to [UIColor clearColor]
and set the background of the table and/or table cells to be transparent as well. This would have the cells appear to float on the background. Some combination of that might work. Might need to set the view's background to the [UIColor groupTableViewBackgroundColor]
or something along those lines to get the effect you are looking for.
精彩评论