I have VC that links to another VC containing a tableView.
Then form the table view I exit back to the root VC where I also display the items selected in the table VC.
But should I load those items in viewDidAppear or viewWillAppear ?
I have VC that links to another VC containing a tableView.
Then form the table view I exit back to the root VC where I also display the items selected in the table VC.
But should I load those items in viewDidAppear or viewWillAppear ?
You should use viewWillAppear for your dynamic code like changes of the tableview-data etc. You can use viewDidAppear for things that should only happen, if the view is already on screen.