# OfflineWebView **Repository Path**: just4github/OfflineWebView ## Basic Information - **Project Name**: OfflineWebView - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-02-15 - **Last Updated**: 2025-02-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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](https://github.com/ernesto-elsaesser/WebArchiver). This sample iOS app demonstrates how the [WebArchiver](https://github.com/ernesto-elsaesser/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](OfflineWebView/ContentView.swift#L91) file. Change the `homeURL` argument to test with your own website. Check the [README of the WebArchiver package](https://github.com/ernesto-elsaesser/WebArchiver/blob/master/README.md) for more details on its usage and limitations.