Ich benutze Xamarin.Forms und auf iOS muss ich die obere Aktionsleiste anpassen. In diesem Fall muss ich die dunkle Linie zwischen der oberen Aktionsleiste und der Inhaltsansicht entfernen (siehe Screenshot). Wie kann ich es tun?Xamarin.Forms anpassen Aktionsleiste auf iOS
Vielen Dank im Voraus!
Ich habe es hier und es funktioniert:
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
//Tab bar
UITabBar.Appearance.SelectedImageTintColor = UIColor.FromRGB(247, 139, 43);
//Switch
UISwitch.Appearance.OnTintColor = UIColor.FromRGB(247, 139, 43);
//----------------------------------------------------------------------------
UINavigationBar.Appearance.BarTintColor = UIColor.Clear;
UINavigationBar.Appearance.ShadowImage = new UIImage();
UINavigationBar.Appearance.SetBackgroundImage(new UIImage(), UIBarMetrics.Default);
//----------------------------------------------------------------------------
global::Xamarin.Forms.Forms.Init();
ImageCircleRenderer.Init();
LoadApplication(new App());
return base.FinishedLaunching(app, options);
}
gerade hat es getan, vielen Dank! – Stefano