Secondary ToolbarItems in .NET MAUI 10 on iOS and macOS
One of those small-but-welcome improvements in .NET MAUI 10: secondary ToolbarItems on iOS and macOS Shell pages now render through the native platform overflow menu, making them feel right at home on Apple platforms.
What you’ll learn
- How
ToolbarItem.OrderwithPrimaryandSecondaryworks in .NET MAUI Shell pages - The improved iOS and macOS rendering introduced via dotnet/maui#30480
- Setting up secondary toolbar items in XAML — the same syntax for both Shell and non-Shell pages
- No custom handlers or platform-specific code required — just the regular
ToolbarItemAPI - Testing with the sample project on
Microsoft.Maui.Controlsversion10.0.70