Dealloc not called on form sheet view controller in iPad multitasking

Originator:n.morev
Number:rdar://23462187 Date Originated:09-Nov-2015 05:55 PM
Status:Closed Resolved:15-Sep-2016 00:41 AM
Product:iOS Product Version:9.1
Classification: Reproducible:Always
 
Summary:
UIViewController instance presented with form sheet modal presentation style is not deallocated after dismiss if iPad Air 2 multitasking split screen ratio changed while the controller was visible.

Steps to Reproduce:
See the attached sample project.
Steps:
1. Run the app on iPad Air 2.
2. Rotate to landscape orientation.
3. Open split-screen multitasking so that the screen is divided into two equal parts.
4. Tap Present.
5. Turn multitasking mode off.
6. Tap Dismiss.

Expected Results:
Presented and dismissed controller will be deallocated and "dealloc" message will appear in console.

Actual Results:
Presented and dismissed controller is not deallocated and "dealloc" message is not appearing in console.

Version:
Xcode Version 7.1 (7B91b), iOS 9.1

Notes:


Configuration:
iPad Air Simulator

Comments

Fixed in Xcode 8.0 + iOS 10 Simulator


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!