trying to figure out how to set the selected image for for a tableViewCell
.
The old way of writing this was cell.selectedImage
but that has bee
Try this ...
UIImage *bgImage = [UIImage imageNamed:@"icon_call.png"];
UIImageView *bgImageView = [[UIImageView alloc] initWithImage:bgImage];
[bgImageView setFrame:CGRectMake(280, 2, 30, 38)];
//Finally give this imageView to the cell
[cell.contentView addSubview:bgImageView];
Hope it will solve your problem !