You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have UITabBarController using a storyboard and add a PageTabMenuViewController. I populate items and titles in the init?(coder aDecoder: NSCoder).
It runs and works fine but with a warning "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). "
The issue is that PageTabMenuViewController has no reference to the TabBarController so something like self.tabBarController!.tabBar will crash. It also causes its tab bar icon and label to disappear.
The text was updated successfully, but these errors were encountered:
I have UITabBarController using a storyboard and add a PageTabMenuViewController. I populate items and titles in the init?(coder aDecoder: NSCoder).
It runs and works fine but with a warning "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). "
The issue is that PageTabMenuViewController has no reference to the TabBarController so something like self.tabBarController!.tabBar will crash. It also causes its tab bar icon and label to disappear.
The text was updated successfully, but these errors were encountered: