WKWebView gestures using loadHTMLString()

Hi All,

Im using a WKWebView to load some HTML I fetched from an API.
Unfortunately when using loadHTMLString() we seem to be unable to use the back and forward swipe gestures when a user clicked on links. I ran into this StackOverflow (swift - How to implement swipe Gesture for WKWebView History with loadHTMLString() - Stack Overflow) post explaining it does work if you load the HTML from a file, I tested it and it works fine. Anyone have an idea on how to get the gestures working when loading the HTML from an API?

Probably better asked over on the Apple Developer forums since this has nothing to do with Swift.

Thanks, will give that a try.