iphone - TableViewCell color not changing on tapping -


when tapping on table view cell, background color not changing blue. reason this?

on tapping of cell, putting check mark on right view of cell , if tap on same cell has checkmark, cell glows blue background color not on cell not contain checkmark.

i tried

[itableview cellforrowatindexpath:iindexpath].selectionstyle = uitableviewcellselectionstyleblue; 

in

- (void)tableview:(uitableview *)itableview didselectrowatindexpath:(nsindexpath *)iindexpath { 

but not helping.

try setting cell's selectionstyle in tableview:cellforrowatindexpath:

- (uitableviewcell *)tableview:(uitableview *)atableview cellforrowatindexpath:(nsindexpath *)indexpath {     // cell setup      cell.selectionstyle = uitableviewcellselectionstyleblue; // or gray/none      return cell; } 

Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -