Friday, October 30, 2026
HomeiOS DevelopmentXamarin IOS Shell Itemtemplate FlyoutIcon FontAwesome

Xamarin IOS Shell Itemtemplate FlyoutIcon FontAwesome

[ad_1]

I’ve an Xamarin Shell App. I pulled the code straight from MSDN for the Shell Itemtemplate and it really works nice an Android however on IOS the FlyoutIcon is just not showing. I’ve a sense it has to do with the truth that I’m utilizing FontAwesome for Icons. Nevertheless I’ve but to run throughout any documentation explaining why there could be a problem with IOS. The icons work completely everywehre else within the app. Beneath is the code for the shell merchandise

 <!-- ItemTemplate is for ShellItems as displayed in a Flyout-->
<Shell.ItemTemplate>
    <DataTemplate>
        <ContentView BackgroundColor="Clear">
            <Grid ColumnDefinitions="0.2*,0.8*" Margin="10">
                <Picture Supply="{Binding FlyoutIcon}" 
                   Margin="5"
                   HeightRequest="20" />

                <Label Grid.Column="1"
                   Textual content="{Binding Title}" 
                   TextColor="LightSlateGray"
                   FontAttributes="Daring"
                   VerticalTextAlignment="Middle" />
            </Grid>
        </ContentView>
    </DataTemplate>
</Shell.ItemTemplate>

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments