Detecting swipe events on WebViews

I have a WebView that needs to work on both Android and iOS. I can use the back button to close it; however, iPhones only have the home button. I want it to listen for a swipe from the WebView. Which isn’t that hard of a process but it seems that the WebViews are not working with the touch event handler. Is it possible to listen for swipe events on a WebView? If not is there a better way to close it on iOS

Webviews are native object and no touch or swipe events are sent to Lua. You can add some Lua buttons above the Webview to serve as back, forward and close buttons but you can’t detect touch or swipe.

Webviews are native object and no touch or swipe events are sent to Lua. You can add some Lua buttons above the Webview to serve as back, forward and close buttons but you can’t detect touch or swipe.