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!
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!
.
UIImageView *background = [[UIImageView alloc]initWithImage: [UIImage imageNamed: @"background.jpg"]];
[tableView addSubview: background];
[tableView sendSubviewToBack: background];
The answer was -- obviously -- already on stackoverflow:
self.backgroundColor = [UIColor colorWithPatternImage: [UIImage imageNamed: @"desk.png"]];
Ref: http://stackoverflow.com/questions/898351/iphone-setting-background-on-uitableview