I have created tableview and set the text in cell lable, now i want to set background image in my cell and my lable will display on that image .how can i do that?
I have tried this but it does not work for me.
UIImageView *av = [[UIImageView alloc] initWithFrame:CGRectMake(500, 500, 500, 500)];
av.backgroundColor = [UIColor clearColor];
av.opaque = NO;
av.image = [UIImage imageNamed:@"cell.png"];
cell.backgroundView = av;
Set the
backgroundViewproperty of theUITableViewCellto anUIImage, simply using: