Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WM22] iOS - Change images programmatically with swipe (no replies)

$
0
0
Good Morning

On Android I changed the image using a this code in the swipe event:

------------------------------------------------------------------

IF Gesture.Direction = RightToLeft AND Gesture.Speed > 500 THEN
gnPosition++
ChangePage()
END

IF Gesture.Direction = LeftToRight AND Gesture.Speed > 500 THEN
gnPosition--
ChangePage()
END

------------------------------------------------------------------

But in iOS I can't use the variable Gesture.Direction and Gesture.Speed.
Any idea how to recreate this functionality for iOS?

Thanks in advance
David Cabrera

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>