-
-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels