SFSafariViewController dismissal animation is bogus when presented by a popover

Originator:javier.api
Number:rdar://47031187 Date Originated:03-Jan-2019 12:31 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:12.1
Classification:UI/Usability Reproducible:Always
 
Summary:
When an SFSafariViewController is presented from a view controller in a popover presentation, and then dismissed via its “Done” top-left button, the popover is laid out full-screen (as opposed to retaining its popover size and position) doing the dismissal animation.

Steps to Reproduce:
- Present a view controller inside of a popover
- Present a SFSafariViewController from the popover
- Press “Done”

Expected Results:
The view controller inside the popover retains its size and position that it had before the SafariVC was presented

Actual Results:
The view controller inside the popover is laid out taking the whole bounds of the window while the SafariVC is dismissing (“popping”), and then snaps back to its original position when the dismissal animation is done.

Version:
12.1

Notes:

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!