UINavigationController child view frame is incorrect when rotating during a push transition

Originator:matt.thompson412
Number:rdar://45209602 Date Originated:October 11, 2018
Status:Open Resolved:
Product:iOS + SDK | UIKit Product Version:12.0.1
Classification:Bug Reproducible:Sometimes
 
Area:
UIKit

Summary:
View controllers contained in UINavigationController are not laid out to fill their parent view controller's bounds when a push transition occurs at the same time as an interface orientation change. Our QA has filed this as a bug in our application, but I have been able to reproduce it in other apps, even apps that are released by Apple (see attached videos for examples).

Steps to Reproduce:
Trigger a push transition while rotating. In our app, we can reproduce this fairly consistently, but I've had a slightly harder time doing so with other apps.

Expected Results:
Content view controller's view should fill the UINavigationController's view after rotation.

Actual Results:
Content view appears to retain its frame from before the rotation event.

Version/Build:
iPad 9.7 inch (MP2J2LL/A)
iOS 12.0.1 (16A404) (Our QA team has been able to reproduce this bug for several version of iOS before 12)

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!