ENSwiftSideMenu icon indicating copy to clipboard operation
ENSwiftSideMenu copied to clipboard

How to change navigation bar color for specific view controller?

Open atalayasa opened this issue 6 years ago • 0 comments

I am using following code to customize navigation bar controller in SideNavigationController which inherits from ENSideMenuNavigationController

        UINavigationBar.appearance().barTintColor = UIColor(red:0.01, green:0.47, blue:0.74, alpha:1.0)
        UINavigationBar.appearance().tintColor = UIColor.white  //navigation itemın rengi hamburger icon
        UINavigationBar.appearance().titleTextAttributes = [NSForegroundColorAttributeName : UIColor.white]

However I need to change bar color for specific view controller how can I do that?

atalayasa avatar Feb 26 '18 13:02 atalayasa