UIDocumentBrowserViewController on iPhone X: Recents looks broken

Number:rdar://35696588 Date Originated:27-Nov-2017 02:38 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:11.1.2
Classification:UI/Usability Reproducible:Always
Looking at the ‘Recents’ tab in a UIDocumentBrowserViewController on an iPhone X shows a background gradient from white to gray and then the grey background suddenly stops resulting in a strange looking hard border that looks as if the content somehow only rendered half way and there should be something there.

Also all the other screen do not seem to have this grey background so it looks a bit out of place compared to the rest.

Steps to Reproduce:
- Open an app that shows UIDocumentBrowserViewController
- Go to recents

Expected Results:
Files are displayed on a white background as in any other view

Actual Results:
There is a gradient that abruptly ends at ~ 2/3 the screen size.




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!