私はXamarin.Formsを使用しています.iOSでは、トップアクションバーをカスタマイズする必要があります。 この場合、上部のアクションバーと下のコンテンツビューの間の暗い線を削除する必要があります(スクリーンショット参照)。 どうすればいいですか?iamのXamarin.Formsカスタマイズアクションバー
ありがとうございます!
私はここでそれをやったし、それが働い:
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);
}
ちょうどそれ、多くのありがとう! – Stefano