title: How to set different navigationbar color for different UIViewcontroller in xib?
body: <p>Iam trying to set different UINavigationBar color for different UIViewController in project.Till now i tried following code in ViewdidAppear methode of each UIViewController class and its not working still the color of navigationbar is not changing.</p>
  
  <pre><code>UIImage *navBackgroundImage = [UIImage imageNamed:@"redbar.png"];
      [[UINavigationBar appearance] setBackgroundImage:navBackgroundImage forBarMetrics:UIBarMetricsDefault];
  </code></pre>
  
  <p>Please help me</p>