You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
After upgrading Xamarin.Forms from 4.8.0.1364 to 5.0.0.2012, I cannot set the UINavigationBar.Appearance.BarTintColor in my AppDelegate.cs FinishedLaunching Method. Any attempt is ignored.
Ususally, I set it from an image after loading the Application:
global::Xamarin.Forms.Forms.Init();
Forms9Patch.iOS.Settings.Initialize(this);
LoadApplication(new App((int)(UIScreen.MainScreen.Bounds.Height), (int)(UIScreen.MainScreen.Bounds.Width), fromPush));
var image = UIImage.FromFile("toolbar_image.png");
if (image != null)
UINavigationBar.Appearance.BarTintColor = UIColor.FromPatternImage(image);
Nevertheless, even setting a color is ignored, it just stays white as the background:
Description
After upgrading Xamarin.Forms from 4.8.0.1364 to 5.0.0.2012, I cannot set the UINavigationBar.Appearance.BarTintColor in my AppDelegate.cs FinishedLaunching Method. Any attempt is ignored.
Ususally, I set it from an image after loading the Application:
Nevertheless, even setting a color is ignored, it just stays white as the background:
There is no other place in my code where I set it for iOS.
Does anyone else encounter this issue? Is there any workaround? I cannot stay on 4.8 much longer.
Steps to Reproduce
Expected Behavior
Color is set (or image is displayed)
Actual Behavior
Just the background white is showing
Basic Information
Environment
Show/Hide Visual Studio info
Build Logs
The text was updated successfully, but these errors were encountered: