Skip to content

Sample iOS app using WKWebView and .webarchive files to store complete web pages for offline reading

License

Notifications You must be signed in to change notification settings

ernesto-elsaesser/OfflineWebView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Sample iOS app using WKWebView and .webarchive files to store complete web pages for offline reading

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages