I have written a UITableView code in XCode. Once one of the cells is pressed by user, a new UIWebView is opened via segue. When the user hits the back button to return to the UITableView, I would like the view to be the same part of the UITableView before selecting a cell by user.
To restate my question, while the back button in detailViewController is hit, I would like the same region of the table cells to be shown. Kind of having a memory of where the user were in the table.
May I know how I could do that?
Navid,
This should be the default behavior if your UITableViewController is embedded in a UINavigationController.
If your UITableViewController is not already embedded in a UINavigationController, you can most easily do this in your storyboard by selecting the UITableViewController, then choosing Editor/”Embed in Navigation Controller”.