WKWebViewContentSizeCalculation-Example icon indicating copy to clipboard operation
WKWebViewContentSizeCalculation-Example copied to clipboard

How to load custom font in CSS for WKWebView and calculate the content size - example project

Demo

Twitter: @hukicamer

This repo contains an example iOS project that demonstrates how to determine the content size of a WKWebView that loads HTML and local CSS with a custom font. A detailed explanation about the implementation is available as a blog-post on my website.

License

WKWebViewContentSizeCalculation-Example is licensed under the MIT license. Check the LICENSE file for details.

Author

Amer Hukić