Scrolling background image for UITableView?

cocoa-touch, iphone, uitableview

Solution

You have to set the background image via backgroundColor property of UITableView:

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

Problem

There are currently a lot of answers on how to set a custom fixed background for a UITableView. But is there any trick to make the background image scroll together with the table cells? Thanks!

Original source

Related problems