I received the following warning: [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). This may cause bugs by forcing views inside the table view to load and perform layout without accurate information (e.g. table view bounds, trait collection, layout margins, safe area insets, etc), and will also cause unnecessary performance overhead due to extra layout passes. Make a symbolic breakpoint at UITableViewAlertForLayoutOutsideViewHierarchy to catch this in the debugger and see what caused this to occur, so you can avoid this action altogether if possible, or defer it until the table view has been added to a window.
I am getting the warning during debugging and my table fully loads with data at that point, but when I change the scheme to release to put into TestFlight, my app crashes as soon as the tableView starts to load the data.
Does anyone know how to prevent a table from executing before data has been fully loaded? I have tableView.reloadData() occurring in the ViewDidLoad section.