title: How to get an opaque UINavigationBar on iOS 7
body: <p>Is there any way to make the <code>UINavigationBar</code>, targeted for iOS 7, a solid color with no translucency?  I have tried setting the backgroundColor, the barTintColor, opaque, transparent/translucent, etc... and nothing works.</p>
  
  <p>Anyone know how to do this?</p>
  
  <p>Here are some chunks of code I have been using. Notice the properties I have set on the <code>navigationBar</code>. None of them, in any order or combination have worked. </p>
  
  <pre><code>@property (strong, nonatomic) UITabBarController *tabBarController;
  
  testViewController = [[TestViewController alloc] init];
  anotherViewController = [[AnotherViewController alloc] init];
  navigationController = [[UINavigationController alloc]
                              initWithRootViewController:testViewController];
  
  navigationController.navigationBar.barTintColor = [UIColor darkGrayColor;
  navigationController.navigationBar.barStyle = UIBarStyleBlack;
  navigationController.navigationBar.translucent = YES;
  navigationController.navigationBar.opaque = YES;
  
  NSArray *tabBarViewControllers = [NSArray arrayWithObjects:
                                        navigationController,
                                        anotherViewController, nil];
  self.tabBarController.viewControllers = tabBarViewControllers;
  </code></pre>