swift 3 webView background color

Viewed 2315

I need a help with webView in swift 3.

I'm making a reader that read books in the html format - the problem is with the webView background colour.

I'm setting webView to break content on pages, like this:

    webView.paginationBreakingMode = .page

I'm setting the background in CSS, like this:

* {background-color: red;}

But I'm still getting a white background. This is not webView background, this is something else.

View screenshot

1 Answers
Related