I’ve searched this site and the web and just looking for a simple example on how to reload the root view controller’s table view from the detail view. I’ve tried notifications, setting a tableview in the detailview controller equal to the tableview of the rootview controller…nothing works.
Has anyone experienced this or have any sample code?
Use notificationcenter to pass a notification from the detail to the rootviewcontroller telling it to reload the data.
ex:
IN ROOT VIEW CONTROLLER
(where i’ve created a method called reloadRootTable, that calls
[self.tableView reloadData];)IN DETAILVIEWCONTROLLER: