Commit 59443201 by Mark Turner

Tabs controller not longer adds all tab view controllers to child view controller stack on load.

parent 6f9098e6
......@@ -249,15 +249,6 @@ internal extension TabsController {
fileprivate extension TabsController {
/// Prepares all the view controllers.
func prepareViewControllers() {
for i in 0..<viewControllers.count {
guard i != selectedIndex else {
continue
}
viewControllers[i].view.isHidden = true
prepareViewController(at: i)
}
prepareViewController(at: selectedIndex)
prepareRootViewController()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment