ios - Method That Recognizes Swipes in WKWebView -


i have wkwebview working fine except 1 small detail. every time user changes page need know can run check make sure page viewing either page user has saved or not. if user clicks on url, can use didfinishnavigation() method in navigation delegate. doesn't appear recognizing when user swipes or forward , never called in scenarios (my guess because these pages loaded , popping them on/off stack). tried adding swipe gesture recognizer, doesn't seem reliable - @ least on simulator.

so, question need in order recognize when user swipes go backwards or forwards inside wkwebview? or there way recognize when url changes inside wkwebview?

if happens else, please upgrade simulator , restart computer. seemed fix problem. didfinishnavigation() being called each time swipe left or right inside wkwebview, should.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -