I have an App, which has multiple WebViews on different ViewControllers but it takes about 3 seconds to load each of them. Is it possible to start loading the webpages during the Launch Screen or to load the WebView of the SecondViewController when the user is on the webpage on the FirstViewController?
import UIKit
class dabs: UIViewController {
@IBOutlet weak var webView_dabs: UIWebView!
override func viewDidLoad() {
super.viewDidLoad()
let websiteURL = URL(string: "https://www.skybriefing.com/portal/dabs")
let websiteURLRequest = URLRequest(url: websiteURL!)
webView_dabs.loadRequest(websiteURLRequest)
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
}
}