Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use the UITableView grouped background pattern for a UIView?

I like the default background of a grouped UITableView. I'd like to use it on a standard UIView.

I'm unable to find anyone asking this question or any reference how to accomplish it.

Any recommendations on how to do this? Is it even possible outside of creating and image and loading that as the background?

like image 367
clifgriffin Avatar asked Feb 17 '11 21:02

clifgriffin


1 Answers

You can use the GroupedTableViewBackgroundColor in Interface Builder or

backgroundColor = [UIColor groupTableViewBackgroundColor];
like image 115
Mats Stijlaart Avatar answered Sep 28 '22 23:09

Mats Stijlaart