SFSafariViewController renders its header incorrectly when the In-Call Status Bar is visible

Originator:james.reggio
Number:rdar://23557171 Date Originated:11/16/2015
Status:Fixed/Duplicate Resolved:Duplicate of 22252498
Product:iOS SDK Product Version:iOS 9.1 (13B137)
Classification:UI/Usability Reproducible:Always
 
[Want to discuss? Get in touch with me @jamesreggio.]

The layout of SFSafariViewController header breaks when the In-Call Status Bar is visible. (It also breaks when other UIViewControllers are presented over the SFSafariViewController and then dismissed.)

The video and project listed below provide a simple repro, though it's also possible to reproduce this with any SFSafariViewController instance in the wild.

Steps to Reproduce:
1. Load the app referenced below.
2. Tap the '200' button in the 'Modal' row.
3. Wait for the page to finish loading (5 seconds).
4. Activate the In-Call Status Bar (CMD-Y in the emulator).
5. Tap the 'refresh' icon in the SFSafariViewController.

Expected Results:
The header for the SFSafariViewController should adjust to the position of the In-Call Status Bar and not render the download status indicator atop the website hostname.

Actual Results:
The blue download status indicator in the SFSafariViewController renders atop the website hostname. The header also feels cramped alongside the In-Call Status Bar.

Version:
iOS 9.1 (13B137)

Notes:
The sample project is available on GitHub here:
https://github.com/jamesreggio/SFSafariViewControllerPlayground

The video demonstrating the repro is available on Dropbox here:
https://www.dropbox.com/s/7393awk8qptupr5/2015-11-16-sfsafariviewcontroller-overlap-repro.mov?dl=0

Configuration:
iPhone 6 on iOS 9.1 (13B137)

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!