Search code examples
iphonecocoa-touchipadios-4.2

iPad : Problem changing the background color of Grouped TableView in iOS SDK 4.2


I am using iOS SDK 4.2.

In my iPad app, I am not able to change the background color of Group Table View even it does not set to clear color

If I try to change the table view style from Grouped Table View to Plain Table View and then try changing the background color then it changes.

But something seems to be wrong when I am using Grouped Table View

What could be wrong?

What should I do?

Plese Help and Suggest

Thanks.


Solution

  • I have this problem as well. Only on iPad. Only with a grouped Table.

    You can fix this by creating a new view, coloring it and then setting that new view to the backgroundView of the tableView.

    This works for static colors, but not Pattern Images(what I'm trying to do)