xamarin/Xamarin.Forms

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

开放

#6,134 创建于 2019年5月8日

 (10 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
a/shell :shell:e/3 :clock3:help wantedp/iOS 🍎t/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南