Describe the bug
On first load the tableview works as expected, when switching to another view and going back the view is empty and this is the warning I get: "[TableView] Warning once only: UITableView was told to layout its visible cells and other contents without being in the view hierarchy (the table view or one of its superviews has not been added to a window)."
Expected behaviour
I expect the view to show the original view after switching back since the data is store in an environmentobject. (cacheCells() does not work)
Describe the bug On first load the tableview works as expected, when switching to another view and going back the view is empty and this is the warning I get: "[TableView] Warning once only: UITableView was told to layout its visible cells and other contents without being in the view hierarchy (the table view or one of its superviews has not been added to a window)."
To Reproduce
Expected behaviour I expect the view to show the original view after switching back since the data is store in an environmentobject. (cacheCells() does not work)
Xcode Version:
Simulator, Device, Both?