Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 798 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 798 Bytes

OfflineWebView

NOTE: The archive generation code from this project has been extracted into a standalone package to make it available via Swift Package Manager. See https://github.com/ernesto-elsaesser/WebArchiver.

This sample iOS app demonstrates how the WebArchiver package can be used to make WKWebView support offline reading for arbitrary web pages. The relevant part is the code in the ContentView.swift file. Change the homeURL argument to test with your own website.

Check the README of the WebArchiver package for more details on its usage and limitations.