we have a view (detailedView) with an image button. The image is about half of the screen. With the image button you can navigate to another view (imageGallery)
Also on the detailedView we want to give the possibility to navigate back with a swipe. So if you swipe to the right the app navigates back. This works fine so far.
But the problem arises if you swipe on the image button.
Then the app navigates back and directly afterwards navigates to the image gallery. It seems that if you start the swipe the button triggers and after the swipe event the app handles the button event.
Is there any possibility to suppress or cancel button events during the swipe events?
Thank you and