kvmbid.blogg.se

Font family san francisco css
Font family san francisco css










font family san francisco css font family san francisco css

The default font for text renders in WKWebView is Times New Roman. The result is a text render in Times New Roman with a size of 36px.

font family san francisco css

If you know a better way, please let me know 😅). All of that means to align our text at the center (It's 2021, I think we might have a better way to do a center alignment. You can ignore most of the CSS rules here. loadHTMLString (htmlString, baseURL : nil ) loadHTMLString (htmlString, baseURL : nil ) Default font familyīy default, if you don't specify a font family in CSS, iOS will use the default font, which is "Times New Roman". Here is how we present HTML string wihtin WKWebView using. We will learn how to use custom fonts in a HTML loaded using. We have learned that in How to add custom fonts to iOS app, but you might not be aware that we can also use a custom font in WKWebView.












Font family san francisco css