I want to use the background color/pattern of the grouped tableview in my view, is there a way to do that?
Asked
Active
Viewed 3,005 times
1 Answers
18
Yep, use the +[UIColor groupTableViewBackgroundColor]
:
[myView setBackgroundColor:[UIColor groupTableViewBackgroundColor]];

Dave DeLong
- 242,470
- 58
- 448
- 498
-
1Don't use this as this is now deprecated in iOS6 (it will give blank) See here http://stackoverflow.com/questions/12452810/is-grouptableviewbackgroundcolor-deprecated-on-ios-6 – Ege Akpinar May 13 '13 at 09:25
-
1Seems like it's fine to use this again, as right now it's not marked as depreciated in the documentation. (I'm guessing it's used again since iOS 7, with the introduction of the flat designs?) – Erik van der Neut May 26 '16 at 07:41