I have a UITableView and want to apply background image to all cells. My height of each cell is variable how should I go about making a background image?
cell.contentView.backgroundColor = [UIColor alloc] initWithPatternImage: [UIImage imageNamed: @ "background.png"]];An idea is to place a UIImage with a draggable image on it. In this way, it does not matter what the height of the row is, the image can be stretched to match.
You can do anything similar to what Matt has done,
Comments
Post a Comment