views:

686

answers:

1

Hi all,

I want to remove the default blue color of uitableview cell selection. I dont want any selection color there. I have not created a custom cell class. I'm customizing the cell by adding labels and buttons over it. I tried doing

cell.selectioncolor=[UIColor clearcolor];

but it says that this method is deprecated.

Can anybody please help me?

Thanks in advance.

+6  A: 
cell.selectionStyle = UITableViewCellSelectionStyleNone;
Vladimir
Thank you Vladimir.. It helped..
neha