So I am trying to preload all tab views from the app delegate to save time on loading once the user is switching between tabs.
I have tried running this in the view controller
file for the UITabBarController (specifically in the viewDidLoad
) however have had no luck. Am I missing something?
let this = self.view
if let viewControllers = self.viewControllers {
for viewController in viewControllers {
let this = viewController.view
}
}