Skip to content

Commit

Permalink
Flyout.md: add ios behavior to flyout icon section
Browse files Browse the repository at this point in the history
By default, iOS doesn't have hamburger icon and uses title text
of the button [1].

Closes dotnet/maui#15258

[1] dotnet/maui#15258 (comment)
  • Loading branch information
parhamsaremi committed May 29, 2023
1 parent 426b783 commit e303aa0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/fundamentals/shell/flyout.md
Original file line number Diff line number Diff line change
Expand Up @@ -552,8 +552,7 @@ This enables scenarios such as expanding the flyout across the entire screen, or

## Flyout icon

By default, Shell apps have a hamburger icon which, when pressed, opens the flyout. This icon can be changed by setting the `Shell.FlyoutIcon` bindable property, of type <xref:Microsoft.Maui.Controls.ImageSource>, to an appropriate icon:

By default, Shell apps have a hamburger icon which, when pressed, opens the flyout. However, it's important to note that this icon is not a native iOS component and there is no "default" hamburger menu icon for iOS. Instead, the default behavior for iOS/Catalyst with this control would be to show the title text of the button. You can still change the icon by setting the Shell.FlyoutIcon bindable property, of type xref:Microsoft.Maui.Controls.ImageSource, to an appropriate icon:
```xaml
<Shell ...
FlyoutIcon="flyouticon.png">
Expand Down

0 comments on commit e303aa0

Please sign in to comment.