xamarin/Xamarin.Forms

[Bug] set "ShellBackgroundColor" doesn't take effect for ios

Aperta

#6134 aperta il 8 mag 2019

 (10 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
a/shell :shell:e/3 :clock3:help wantedp/iOS 🍎t/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Description

when setting Shell.ShellBackgroundColor for page it doesn't change the color for ios

Steps to Reproduce

  1. create new xamarin forms shell app
  2. in AppShell.xaml there is:
    <Setter Property="Shell.ShellBackgroundColor" Value="Blue" />
  3. go to the created about.xaml and set Shell.ShellBackgroundColor="Red" in the content page header.

Expected Behavior

navigation bar for the page should become red on ios

Actual Behavior

it is remaining blue

  • Version with issue: 4.0 pre 10

  • Platform Target Frameworks:

    • iOS: 12

Screenshots

android works well: photo_2019-05-08_18-14-09

ios not: photo_2019-05-08_18-14-29

Guida contributor