How to create a textured background color (image palette), for example, a grouped table background color?

I was wondering if anyone knows how to adjust a new textured color in the palette. See image below.

background colors

I tried clicking "Other" ... and then placing the image palette. So:

enter image description here

So now I can only select one pixel. I would like to choose more. This would make the job a lot simpler instead of setting the background each time. If you have suggestions that I can try, for example, to override files or something, please help ... Thanks.

Programmatically easy. But I'm making a universal app (iphone and ipad) and ... well, there must be a way around it. Here's how I do it programmatically:

UIImage *wood = [UIImage imageNamed:@"woodenBack.png"];
self.tableView.backgroundColor = [UIColor colorWithPatternImage:wood];
+5
1

- ,

BOOL large = ([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad); // Page thumb size

if(large){
UIImage *wood = [UIImage imageNamed:@"woodenBack.png"];
self.tableView.backgroundColor = [UIColor colorWithPatternImage:wood];
}else{
UIImage *brick = [UIImage imageNamed:@"brick.png"];
self.tableView.backgroundColor = [UIColor colorWithPatternImage:brick];
}

, UIWindow appdelegate .

tableview tableview, , , , .

+1

All Articles