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

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -