Created attachment 320817 [details] Expected appearance When text shadows and background gradients are applied to a span in a UIWebView in an iOS app, if the app is closed, another app is opened and closed, and the original app is opened again, the gradients often draw with a black background. See screenshots and attached example project. Steps: -Run sample project on an iOS device -Quit the app (press the home button, not force-quit or Xcode stop), open and close at least one other app, and reopen the sample app Observed: backgrounds (applied here to create a highlight effect in book text) draw black.
Created attachment 320818 [details] Broken appearance
Created attachment 320819 [details] Sample Xcode project
This is also filed as Apple radar 33436719.
(iOS 11)
rdar://problem/33436719