Unable to dismiss UIReferenceLibraryViewController when presentation style changes

Originator:cfleser
Number:rdar://36349301 Date Originated:January 8 2018
Status:Open Resolved:
Product:iOS + SDK Product Version:11
Classification:UI/Usability Reproducible:Always
 
Summary:
When a UIReferenceLibraryViewController is presented as a popover and then multitasking/split screen forces the view controller to be presented full screen, there is no way to dismiss the UIReferenceLibraryViewController apart from going back into full screen.

Steps to Reproduce:
- Launch an app on an iPad that presents a UIReferenceLibraryViewController as a popover.
- Initiate multitasking and split the screen such that the UIReferenceLibraryViewController is now presented modally.
- Notice that there is no means to dismiss the UIReferenceLibraryViewController.

Expected Results:
Would expect "Done" button to appear in the top right corner of the UIReferenceLibraryViewController when the presentation style changes. Note that if we do this in reverse starting with full screen presentation as going to a popover that the "Done" button remains.

Actual Results:
"Done" button does not appear and use must exit split screen to dismiss the UIReferenceLibraryViewController.

Version/Build:
Confirmed in iOS 11, perhaps others.

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!