I have a WKWebView
and I need to know when it is scrolled, so I bound its scroll view's delegate to my controller in order to use UIScrollView
delegate methods:
self.myWebView.scrollView.delegate = self
...
func scrollViewDidScroll(_ scrollView: UIScrollView) {
// Do stuff
...
}
It works well for almost every web pages but when the user does a google search, selects an AMP page and then scrolls up or down, I can't detect that scrolling.
Is there a way to know if an AMP page is scrolled?