0

I am trying to create tableview cell selected to show selection color statically upto go another view controller. Now I am facing whenever I clicking the cell its highlighted. I want to show statically after selection cell.

MrDoubt
  • 25
  • 6
  • I read this question a few times and Im afraid I have no idea what your trying to do. – Devster101 Sep 09 '15 at 10:36
  • See...whenever I have selecetd tableview cell Its should show selection color statically...after I select next cell then first cell selection color should change clear color – MrDoubt Sep 09 '15 at 10:45
  • Oh ok, maybe your table is set to multiple selection? Select you tableView and view its Attributes Inspector. There an option in there for Selection. You may have it set to Multiple selection. Change it back to single selection and your tableview will only highlight one cell when its clicked. The other should return to normal – Devster101 Sep 09 '15 at 10:59
  • I cant get you. Please post some code! – MrDoubt Sep 09 '15 at 11:04
  • My solution doesnt require code. This is in the storyboard or Xib file. – Devster101 Sep 09 '15 at 11:07
  • But I am making by Programmatic! – MrDoubt Sep 09 '15 at 11:13
  • try this one `self.tableView.allowsMultipleSelection = NO;` – vlad.grb Sep 09 '15 at 12:59

0 Answers0