ViewController that presented Current Context Modal disappears

Originator:matthias.bauch
Number:rdar://18552380 Date Originated:06-Oct-2014 09:40 AM
Status:Open Resolved:
Product:iOS SDK Product Version:8.0 + 8.1
Classification:Serious Bug Reproducible:Always
 
Summary:
I have a UITabBarController which hosts a UINavigationController as first tab. The rootViewController of the navigation controller presents a current context modal. 

When I switch to the other tab and back before dismissing the modal the presenting viewController is gone.

Steps to Reproduce:
1. Open attached Demo
2. Press "Show Modal" button in first tab
3. Switch to second tab
4. Switch back to first tab
5. Press "Dismiss Modal" button

Expected Results:
The first viewController (the one with the "show modal" button) is shown

Actual Results:
Black tab because the viewController is gone. 

Version:
iOS 8.0.2 + 8.1

Notes:


Configuration:
iPhone 5c + iOS Simulator

Attachments:
'ModalDismissBug.zip' was successfully uploaded.


----


https://dl.dropboxusercontent.com/u/2414726/openradar/ModalDismissBug.zip

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!