Put this code in the webViewDidFinish
var request = URLRequest(url: URL(String: "Your URL Here")
request.cachePolicy = .(Something)
This will cache the url
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: