younger_times
2023-08-08 47a58a1a7d967464e93410e04791aaa4756c1cbd
WanPai/Base/BaseNav.swift
@@ -63,6 +63,7 @@
    open func navigationController(_ navigationController: UINavigationController, willShow viewController: UIViewController, animated: Bool) {
        let status = lucencyVCs.contains(where: {$0 == viewController.classForCoder})
      print("--->\(viewController)")
        if navigationController.viewControllers.count == 1 || status{
            if #available(iOS 15.0, *) {
@@ -90,7 +91,7 @@
            self.interactivePopGestureRecognizer!.delegate = nil
        }
    }
    open override var childForStatusBarHidden: UIViewController? {
        return self.topViewController
    }