/ Published in: Java
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
UIImageView* background = [[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"listBackground.png"] ] autorelease]; background.contentMode = UIViewContentModeCenter; // don't stretch // Only on 3.2 onwards.. if ([self.tableView respondsToSelector:@selector(setBackgroundView:)] ) { self.tableView.backgroundView = background; }