I have created a custom
UITableViewCell
. The table view is showing data fine. What I am stuck in is when user touches cell of tableview, then I want to show the background color of the cell other than the default [blue color] values for highlighting the selection of cell. I use this code but nothing happens:
cell.selectedBackgroundView.backgroundColor=[UIColor blackColor];