Closing a SFSafariViewController that was presented from a Form Sheet view controller has animation bug on iPad
Originator: | dylanslewis | ||
Number: | rdar://39345174 | Date Originated: | 11/4/18 |
Status: | Open | Resolved: | |
Product: | iOS SDK | Product Version: | 11.x |
Classification: | Reproducible: | Always |
Area: Safari Services Summary: On an iPad, if you present an SFSafariViewController from a view controller that was presented with the presentation style .formSheet, then when the user taps 'Done' on the SFSafariViewController then there is a bug with the dismiss animation; the Form Sheet view controller will briefly appear in full screen before correctly resizing to a Form Sheet size. This results in a jarring back animation when leaving the SFSafariViewController. Sample project is available here: https://github.com/asos-dylanslewis/SFSafariViewControllerDoneBug Steps to Reproduce: - On an iPad, present a view controller where the modalPresentationStyle is formSheet - On the presented view controller, present an SFSafariViewController - When the page has loaded, tap 'Done' on the SFSafariViewController Expected Results: - The SFSafariViewController is popped and the Form Sheet view controller is always shown at a form sheet size (in the middle of the screen) Actual Results: - The SFSafariViewController is popped and the Form Sheet view controller is briefly shown at the size of the entire screen, before flashing to the correct form sheet size (in the middle of the screen). Version/Build: iOS 11.x
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!