         setNeedsNavigationBackground(alpha: topViewController?.navBarBgAlpha ?? 0)
         enableShadow(enable: topViewController?.navBarBgShadow ?? false)
         lo_bg?.update(color: (topViewController?.navBarBGColor ?? .white).withAlphaComponent(topViewController?.navBarBgAlpha ?? 1), drag: false)
-        navigationBar.tintColor = topViewController?.navBarTintColor
+        navigationBar.tintColor = topViewController?.navBarTintColor ?? globalNavBarTintColor
         return true
     }
     

        }
    }
    
    public var navBarTintColor: UIColor {
        get {
            guard let tintColor = objc_getAssociatedObject(self, &AssociatedKeys.navBarTintColor) as? UIColor else {
                return UIColor.white
            }
            return tintColor
        }
        set {

        enableShadow(enable: toViewController?.navBarBgShadow ?? false)
        
        // Tint Color
        let fromColor = fromViewController?.navBarTintColor ?? globalNavBarTintColor
        let toColor = toViewController?.navBarTintColor ?? globalNavBarTintColor
        let newColor = averageColor(fromColor: fromColor, toColor: toColor, percent: percentComplete)
        navigationBar.tintColor = newColor
        let midColor = averageColor(fromColor: (fromViewController?.navBarBGColor ?? .white), toColor: (toViewController?.navBarBGColor ?? .white), percent: percentComplete)
