Hiii, I want to make a tableview and when I tap on cell it will go to next view there I can select a particular option (only one at a time ) with check mark and whatever text in selected option it should be displayed in previous view(which is also a tableview)
Please help me out with this.
While using below method it is selecting all the option which I am tapping,but I wanted to only one cell will have check mark which I have tapped.
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
[self.tableView cellForRowAtIndexPath:indexPath].accessoryType = UITableViewCellAccessoryCheckmark;
}
Thanks in advance