title: Setting toolbar items for a navigationController
body: <p>I am trying to set items for a navigationController using the following call</p>
  
  <pre><code>NSArray *items = [NSArray arrayWithObjects: shareButton, nil];
  [self.navigationController.toolbar setItems:items animated:NO];
  </code></pre>
  
  <p>This adds nothing to the toolbar.</p>
  
  <p>I can hide and show the toolbar using</p>
  
  <pre><code>[self.navigationController setToolbarHidden:NO];
  </code></pre>
  
  <p>But cant make the items appear.</p>
  
  <p>How does one set the items. ?</p>
  
  <p>Update:</p>
  
  <p><img src="https://i.stack.imgur.com/YGoJR.png" alt="enter image description here"></p>