Is there a way to fix the background image of a UITableView

Posted by user337174 on Stack Overflow See other posts from Stack Overflow or by user337174
Published on 2010-05-14T12:09:19Z Indexed on 2010/05/14 12:14 UTC
Read the original article Hit count: 173

Filed under:
|
|

Hi

I have set the background of my UITable with a custom image.

self.tableView.backgroundColor = [UIColor clearColor];
self.tableView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"background.png"]];

The problem im having is the background image is scrolling and doesn't look good at the top and bottom of the screen where you see the image being joined.

Is there a way to fix the position of the background image and just have the table scroll over the top of it?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective