Skip to content

Shell TitleView iOSΒ #18

@tom-bybox

Description

@tom-bybox

Dear PureWeen, thank you so much for all your work on MAUI, especially with this workaround NuGet package.

Despite the handy fixes I still have an issue with my MAUI app where the title view in the navigation stack fails to display correctly when popping the view off of the stack. If I have say a stack of 5 pages, it's only the last one that has the glitch - the title appears to disappear though I think it does this by setting it's background to white.

The view markup is as such:

<StackLayout 
    Style="{DynamicResource PageTitleHeaderStack}">
    <Label 
        Style="{DynamicResource PageTitleHeaderLabel}"
        Text="{Binding PageTitle}"
    />
</StackLayout>

etc

With style:

<Style TargetType="Label" x:Key="PageTitleHeaderLabel">
  <Setter Property="HorizontalOptions" Value="Start"/>
  <Setter Property="VerticalOptions" Value="Center"/>
  <Setter Property="TextColor" Value="White"/>
  <Setter Property="FontSize" Value="Medium"/>
  <Setter Property="FontFamily" Value="SofiaProRegular" />
  <Setter Property="FontAttributes" Value="None" />
  <Setter Property="HeightRequest" Value="22"/>
</Style>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions