Closed spiderbob closed 6 years ago
Papr/Coodinator/SceneCoodinator.swift
static func actualViewController(for viewController: UIViewController) -> UIViewController { var controller = viewController if let tabBarController = controller as? UITabBarController { guard let selectedViewController = tabBarController.selectedViewController else { return tabBarController } controller = selectedViewController } if let navigationController = viewController as? UINavigationController { return navigationController.viewControllers.first! } -return viewController +return controller }
Thanks! Can you create a PR? @spiderbob
PR is created
Papr/Coodinator/SceneCoodinator.swift