I have a navigation view controller with root view controller where I set the look of the navigation bar. It looks like this:
UIImage *navBarImage = [UIImage imageNamed:@"GreyUp.png"];
[[UINavigationBar appearance] setBackgroundImage:navBarImage
forBarMetrics:UIBarMetricsDefault];
This thing though, changes the navBar appearance for all the following view controllers, which I would not like. I would like one navBar for root view and another one – for a different view. How can this be achieved?
Yes it can be achived use this in view will appear
// for cutom back button
My Utils class code to create button