Safari View Controller not released after swiping back and cannot be presented again

Originator:poppoppop
Number:rdar://23871289 Date Originated:12-Dec-2015 01:13 AM
Status:Duplicate of 23887854 Resolved:
Product:iOS SDK Product Version:9.2
Classification:Serious Bug Reproducible:Always
 
Summary:
Safari View Controller is not released if the status bar is animating a style change when swiping back and user ends the interaction before the status bar animation is completed 

Steps to Reproduce:
1. Present a Safari VC from a VC that has a UIStatusBarStyleLightContent status bar when Safari is not in private mode and has a default status bar
2. Swipe back quickly and let go of the Safari VC before the status bar has finished transitioning back to light style
3. Try and present another Safari VC

Expected Results:
1. The initial Safari VC has been released
2. I can present another Safari VC

Actual Results:
1. The initial Safari VC is still in memory and still referenced as the presentedViewController
2. This presentedViewController cannot be dismissed
3. I cannot present another Safari VC

Regression:
Tested in iOS 9.2 simulator and on an iPhone 6S

Notes:
See sample project at https://github.com/prendio2/SafariVCSwipeWoes

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!