Disable InteractivePopGestureRecognizer for specific page #22369
Unanswered
Divyesh-Bhatt
asked this question in
Ideas
Replies: 1 comment 3 replies
-
To disable the swipe back gesture for iOS on a specific page, you can try the following approach. Hope it helps !
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
In iOS 15 and above we can perform back navigation using swipe (from left edge of the device). I've noticed that on initial page which is not of type of navigation page if we perform this swipe the app is getting crash in iOS.
To fix this I've found this work around https://learn.microsoft.com/en-us/answers/questions/306452/disable-xamarin-shell-flyout-swipe-gesture
But this disables the swipe for entire app, which is not intended. So how to make it page specific?
Public API Changes
ShellPage
Intended Use-Case
Disable Swipe back gesture for iOS when needed for specific page.
Beta Was this translation helpful? Give feedback.
All reactions