Hi EJ-5254,
Welcome to our Microsoft Q&A platform!
Yes, you can create a custom render for the page you want to disable "menu button".
Here I download the sample Xamarin documentation provides on GitHub: xamarin/xamarin-forms-samples.
To disable the "menu button" on ContactsPage, you can create a custom render for it as follows.
[assembly: ExportRenderer(typeof(ContactsPage), typeof(CustomPageRenderer))]
namespace FlyoutPageNavigation.iOS
{
class CustomPageRenderer : PageRenderer
{
public override void ViewDidLayoutSubviews()
{
base.ViewDidLayoutSubviews();
if (NavigationController != null)
{
var items = NavigationController.NavigationBar.Items;
if (items.Length != 0)
{
UIBarButtonItem leftItem = items[0].LeftBarButtonItem;
if (NavigationController.ViewControllers.Length == 1)
{
leftItem.Enabled = false;
}
}
}
}
}
}
Regards,
Kyle
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.