Skip to content

Disable InteractivePopGestureRecognizer for specific page #22365

@Divyesh-Bhatt

Description

@Divyesh-Bhatt

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions