title: Navigation Bar buttons not appearing
body: <p>I want to add buttons to my navigation bar through code, but they are not appearing for me.  I think it might have to do with my navigation bar being inside a UIView.</p>
  
  <p>My code in <code>viewDidLoad</code>:</p>
  
  <pre><code>[super viewDidLoad];
  
   self.navigationItem.leftBarButtonItem = self.editButtonItem;
  
   UIBarButtonItem *addButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd target:self action:@selector(add)];
   self.navigationItem.rightBarButtonItem = addButton;
  </code></pre>
  
  <p>Interface builder:</p>
  
  <p><img src="https://i.stack.imgur.com/8jnYH.png" alt="Interface builder"></p>
  
  <p>Any help would be greatly appreciated!</p>