IOS 8 + interactive transition + navigation bar shown = broken?

We are trying to add an interactive transition in our application between the two views. We can make it work fine on iOS 7 or iOS 8 without displaying the navigation bar. But we need to show the navigator. To demonstrate (some of) the problems that we had, I created a small prototype that shows the screenshots below. I tried UIPercentDrivenInteractiveTransition, but found enough messages, claiming that it has problems that I got rid of it.

Source : https://github.com/xaphod/TransitionBugger

Here's what it looks like on iOS 8 using the navigationController, but the navigation bar is NOT set to display in the storyboard: it works great

Works on iOS 8 without navbar

It displays the same thing, but with a navigation bar. When there is a navigation bar, then somehow there are no touches received in the toViewcontroller after the transition is completed (note how UIButton does not receive the touch event):

Broken on iOS 8 with navbar

And perhaps this suggests that the navigator is in a malfunctioning state. See what happens if I describe the application and return to it - the state of the navigation panel changes: the button of the "Element" panel changes to "Back" only after the application appears in the foreground. Why is this happening?

navbar changes when app backgrounded

I read at least 12 posts about stackoverflow, objc.io and other places with lots of suggested solutions and tutorials, etc. We tried them all, including these threads:

"From the view controller" disappears using UIViewControllerContextTransitioning (our main application has another problem)

Touch not recognized after user transition

... but they only work when there is no navigator displayed .

How can we make interactive transitions using navbar on iOS 8? All help is much appreciated.

+3
source share
1 answer

In the end, we stopped using the UINavigationControllerDelegate approach because we also needed a transitional view to cover the tab bar. When we moved on to the modal full-screen transition, this problem was resolved.

0
source

All Articles