My application is navigation base. I have UITableViewController.when i tap a cell i need to display check mark in left side of selected cell for indication of cell is selected. For example 2 cell . First cell is selected i need to indicate cell is selected for check mark. if i select second cell i need to disable first cell check mark and i need to show check mark in second cell.how to check cell selection .
My application is navigation base. I have UITableViewController.when i tap a cell i need
Share
Try this. In your cellForRowAtIndexPath delegate method put the following code.
Have a integer variable named selectedRow and in your didSelectRowAtIndexPath delegate method include the following code,
Make sure you initialize ,
in init method or somewhere where it will be initialized before the table view loads.