I have created a View Controller with a UITableView into it. When I tap a cell, it leads the user to another view with a Table View of options with the method :
[self.navigationController pushViewController:optionsView animated:YES];
On this view, I want that tapping a cell makes the user go to the previous view. So I use :
[self.navigationController popViewControllerAnimated:YES];
Which works perfectly. But I just don't know how to keep the index of the cell chosen. Any advice ?
Thanks a lot