I want to display a new instance of WKWebView , so the page currently being displayed to the user is childURL , but the other URL, parentURL , is in the reverse order of the WKWebview history, so if the user goes back in history (through a gesture or through a button that calls function WKWebView goBack ), then parentURL will be displayed.
Imagine first loading parentURL into the webview , and then click the link that goes to childURL . I want this ( childURL displayed, parentURL in the background) to be my initial state in WKWebView .
How can i do this?
source share