当我为UIView、UILabel或UIButton设置Storyboard的背景颜色时,如下所示但是,当我使用下面这样的编程设置背景色时,相同视图的customView.backgroundColor= //Same colour which I set in storyboard如下所示:
检查相同RGB值的色差self.navigationBar.setBackgroundImage
当Im trying to forceNavigationBarto beMaterialTheme.colorScheme.surfacecolor(see [Material 3 Guidelines](https://m3.material.io/components/navigation-bar/specs)), background color of app and color ofNavigationBardiffers. Example: color ofNavigationBaris#f1edf7but background color is#fffbfe. Backgroun