Root view controller leaks after 3d touch preview
Originator: | igor.palaguta | ||
Number: | rdar://43374370 | Date Originated: | August 16 2018 |
Status: | Open | Resolved: | |
Product: | UIKit | Product Version: | iOS 11.4 Xcode 9.4 |
Classification: | Memory Leak | Reproducible: | Always |
Area: UIKit Summary: Top view controller is not deallocated after rootViewController change, if 3D touch was performed in this controller or any child controller Example project can be found here: https://github.com/Igor-Palaguta/PeekAndPopLeak/blob/master/Check3DTouchLeak/RootViewController.swift Steps to Reproduce: 1. Register view controller for previewing registerForPreviewing 2. 3D touch and preview 3. Change rootViewController for window Expected Results: View controller is deallocated Actual Results: View controller's deinit is not called Version/Build: Xcode Version 9.4 (9F1027a) iOS 11.4
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!