Incorrect layout after dismissing view controller

Originator:eugene
Number:rdar://24438517 Date Originated:01-Feb-2016
Status:Open Resolved:
Product:iOS Product Version:9.2.1
Classification:UI/Usability Reproducible:Always
 
Summary:
Application's UI is drawn with 20px offset, there is a black strip at the top.

Steps to Reproduce:
1. Run the sample application in portrait orientation
2. Receive and accept incoming GSM call
3. Return to application
4. Tap "Compose" button to present modally "Wizard" view controller
5. Tap "Action" button to present another view controller modally
6. Rotate to landscape orientation

Now a few options available:
- 7. Tap on "Done" button to dismiss the topmost view controller

- 7. End call
  8. Tap "Done"

- 7. End call
  8. Rotate back to portrait orientation
  9. Tap "Done"


Expected Results:
Application occupies the full screen

Actual Results:
Application occupies only a part of the screen, the rest is a black
strip 20px high

Version:
iOS 9.2.1

Notes:
It is crucial to have at least 2 modal presentations.

If modals are presented while the call is active, the corresponding
UITransitionView have their frame origin at (0, 20).
While all UITransitionView instances are properly resized during rotation, only the last one gets its frame's origin updated.

Configuration:
iPhone 6

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!