Ionic(vue) 6, ios, swipe back

Hello!

I found in my iOS app that when I swipe left, ionic does not see the swipe.
I’ve been looking for a solution for three days, I’ve come to the conclusion that I need to activate allowsBackForwardNavigationGestures, but I don’t understand how to do it.

Please help, I’m ready to thank you :beer:

solution

override public final func loadView() {

webView?.allowsBackForwardNavigationGestures = true

/node_modules/@capacitor/ios/Capacitor/Capacitor/CAPBridgeViewController.swift

Use this plugin
https://www.npmjs.com/package/capacitor-plugin-ios-webview-configurator

in a entrypoint file(like index.js or app.js for react), call this line:

setBackForwardNavigationGestures(true)
1 Like