title: Custom Font Not Working in WKWebView Swift
body: <p>Trying to use custom font in WKWebView but no luck.</p>
  
  <pre><code>let htmlString = "&lt;span style=\"font-family: 'OpenSans-Bold'; font-size: 30; color: white\"&gt;\(Utils.aboutUsText)&lt;/span&gt;"
  webView.loadHTMLString(htmlString, baseURL: nil)
  </code></pre>
  
  <p>I can use HelveticaNeue-Bold and works great but not with the custom font above.</p>
  
  <pre><code>let htmlString = "&lt;span style=\"font-family: 'HelveticaNeue'; font-size: 30; color: white\"&gt;\(Utils.aboutUsText)&lt;/span&gt;"
  webView.loadHTMLString(htmlString, baseURL: nil)
  </code></pre>
  
  <p>I have added the custom fonts properly.See screenshots.</p>
  
  <p>Can someone please tell me how can i achieve this or point me in the right direction.</p>
  
  <p><a href="https://i.stack.imgur.com/3jjjM.png" rel="noreferrer"><img src="https://i.stack.imgur.com/3jjjM.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/8lC0I.png" rel="noreferrer"><img src="https://i.stack.imgur.com/8lC0I.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/QCvYI.png" rel="noreferrer"><img src="https://i.stack.imgur.com/QCvYI.png" alt="enter image description here"></a></p>