SFSafariViewController renders a blank white screen for 100–300ms upon first presentation

Originator:steipete
Number:rdar://25961521 Date Originated:27-Apr-2016 08:35 PM
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 9.3.1
Classification:UI/Usability Reproducible:Sometimes
 
This is a duplicate of rdar://23557272

[Want to discuss? Get in touch with me @jamesreggio or @steipete, who just duped this radar :)]

When an instance of SFSafariViewController is first presented within an app, its view will render as a blank white screen for less than a second, but long enough for a human to notice. This behavior consistently occurs for the first use of an SFSafariViewController within an app, but then occurs less often (possibly because the remote process is already 'warm').

Consult the video below for a demonstration of the repro within an iPhone 6S Plus emulator running iOS 9.3

Steps to Reproduce:
1. Cold reboot the emulator.
2. Load the app referenced below.
3. Tap the '200' button in the 'Modal' row. 

Expected Results:
The modal renders with a status bar and toolbar immediately upon presentation.

Actual Results:
The modal renders blank for the first 100–300 ms, and then the status bar and toolbar appear.

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/0occ1urds3gzfor/2015-11-16-sfsafariviewcontroller-blank-screen-repro.mov?dl=0

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!