title: Add a UIProgressView under the Navigation Controller
body: <p>This seems similar to this question (<a href="https://stackoverflow.com/questions/19211999/showing-a-uiprogressview-inside-or-on-top-of-a-uinavigationcontrollers-uinaviga">Showing a UIProgressView inside or on top of a UINavigationController&#39;s UINavigationBar</a>) but I cannot get the answer there to work for me without Xcode throwing some hideous error.</p>
  
  <p>I have a similar problem but I'm wanting to add the progress bar on the master view of a split view controller, so it is a tableview but the code given in the above answer doesn't work (I don't have access to the Navigation Bar in the same way.</p>
  
  <p>I've tried reworking it as such:</p>
  
  <pre><code>    UIProgressView *progress = [[UIProgressView alloc] initWithProgressViewStyle:UIProgressViewStyleDefault];;
  [progress setTranslatesAutoresizingMaskIntoConstraints:NO];
  [self.navigationController.navigationBar addSubview:progress];
  </code></pre>
  
  <p>Which very almost works, but it adds it above the view and not below and half-width (annoyingly). I can do this in the storyboard but when I dynamically push a new tableview onto the navigation stack it then dissapears again.</p>
  
  <p>I'm aiming for this:</p>
  
  <p><img src="https://i.stack.imgur.com/0r5mv.png" alt="Progressview Under Nav"></p>
  
  <p>Thanks for any help!</p>