Nested UINavigationController inside popover displays animation glitches

Originator:rjsdev
Number:rdar://15358984 Date Originated:31 Oct 2013
Status:Open Resolved:
Product:iOS Product Version:7.0.3
Classification:UI/Usability Reproducible:Always
 
Summary:
The bug affects the animation when pushing or popping a navigation controller's stack inside a popover. It seems to occur when the navigation controller is not the top-level view controller presented by the popover controller. During the animation, the content from both levels is briefly displayed superimposed on top of each other.

Steps to Reproduce:
1. Open the sample Xcode project at this URL
https://github.com/rjsdev/PopoverNavigationBug/tree/bugDemo

2. Build and run in the iPad iOS 7 simulator or an iPad device.

3. Tap any of the "Tap" buttons to present the popover with the root view of the navigation controller displayed.

4. Tap any table row in the popover to activate the transition to the second level of the navigation hierarchy.

Expected Results:
New content slides in, replacing old content and hiding it. A variant of the project showing the expected result is at:
https://github.com/rjsdev/PopoverNavigationBug/tree/bugFree

Actual Results:
Content of both levels of the hierarchy is superimposed during the transition.

The difference between the two projects is that the navigation controller is presented directly in the popover in the bug-free version. In the bug demo, there is an extra intermediate view controller. I believe the view controller containment hierarchy is set up correctly in the bug demo, with the navigation controller added as the child of the intermediate view controller. 

Version:
iOS 7.0.3 (11B508) on iPad Simulator
iOS 7.0.3 (11B511) on iPad mini model A1432 16GB
Xcode 5.0.1 (5A2053)
OS X 10.8.5 (12F45)

Notes:
The bug originally manifested in a project where the navigation controller's view does not occupy the whole popover, so omitting the intermediate view controller is not an acceptable workaround. The best workaround I can find for now is to disable navigation animations.

Configuration:


Attachments:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!