WKWebview not loading remote website fonts

entretoizeentretoize FRMember ✭✭

Hello,
I created a WKWebview in my IOS application, to load a website that has custom fonts to display symbols. The problem is that the font doesn't seem to be loaded as not symbols appears, and I also that some texts that have custom fonts have the wrong font.

Is there something to do for fonts to be loaded in a remote website ?

Thanks

Best Answer

  • entretoizeentretoize FR ✭✭
    Accepted Answer

    Yes it displays fine on safari so, no nissue with the website.
    In fact I find the problem, the font was loaded from an external url, I changed to be on my website and the problem disappeared. I don't know if it's a security restriction or something else...

Answers

  • LandLuLandLu Member, Xamarin Team Xamurai

    Does this web page load correctly on safari? I guess it may be the issue of your website.

  • entretoizeentretoize FRMember ✭✭
    Accepted Answer

    Yes it displays fine on safari so, no nissue with the website.
    In fact I find the problem, the font was loaded from an external url, I changed to be on my website and the problem disappeared. I don't know if it's a security restriction or something else...

Sign In or Register to comment.