title: iOS 8 + interactive transition + nav bar shown = broken?
body: <p>We're trying to add an interactive transition in our app between two views. We can make it work fine on iOS 7, or on iOS 8 <em>without the navigation bar being shown</em>. But, we need to have a navbar shown. To demonstrate (some of) the problems we're having, I created a small prototype which the screenshots show below. I tried UIPercentDrivenInteractiveTransition but found enough posts claiming that it has problems that I got rid of it.</p>
  
  <p><strong>Source</strong>: <a href="https://github.com/xaphod/TransitionBugger" rel="nofollow noreferrer">https://github.com/xaphod/TransitionBugger</a></p>
  
  <p>Here is what it looks like on iOS 8, with a navigationController, but the nav bar is set NOT to show in the Storyboard: it works fine</p>
  
  <p><img src="https://i.stack.imgur.com/41rIk.gif" alt="Works on iOS 8 without navbar"></p>
  
  <p>Here's the exact same thing but with the nav bar shown. When there's a navbar, then somehow there are no touches received in the toViewcontroller after the transition completes (notice how the UIButton doesn't get a touch event):</p>
  
  <p><img src="https://i.stack.imgur.com/jX4fC.gif" alt="Broken on iOS 8 with navbar"></p>
  
  <p>And perhaps telling is that the navbar appears to be in a broken state. Watch what happens if I background the app and go back into it - the navbar state changes: the "Item" bar button changes to "Back" only once the app comes to foreground. Why is that happening? </p>
  
  <p><img src="https://i.stack.imgur.com/Q5W4U.gif" alt="navbar changes when app backgrounded"></p>
  
  <p>I have read at least 12 posts on stackoverflow, objc.io, and elsewhere with lots of suggested solutions and tutorials etc. We have tried them all, including these threads:</p>
  
  <p><a href="https://stackoverflow.com/questions/24338700/from-view-controller-disappears-using-uiviewcontrollercontexttransitioning/25655575#25655575">&quot;From View Controller&quot; disappears using UIViewControllerContextTransitioning</a> (another problem our main app is having)</p>
  
  <p><a href="https://stackoverflow.com/questions/22300050/touches-not-recognized-after-custom-transition">Touches not recognized after custom transition</a></p>
  
  <p>... but <strong>they only work when there is no navbar shown</strong>.</p>
  
  <p>How can we make interactive transitions work with a navbar on iOS 8 ? All help much appreciated.</p>