image - custom background uitableview with more than 1 section (IPHONE) -


I need to set an image on my UITableViewController; If I have only one part on the Table Vision, then it works properly:

Testing with the name of the file ]];

But if there are 2 sections, the image gets duplicated for each section.

Do not use a pattern image backgroundView property of the table view:

/ P>
  UIImageView * background = [[UIImageView alloc] initWithImage: [UIImage imageNamed: @ "someImage.jpeg"]]; [[Self tableview] setBackgroundView: Background]; [Background release];  

Comments