【发布时间】:2017-12-04 04:56:06
【问题描述】:
我已使用以下代码更改了选项卡栏选定的文本颜色。但我不知道如何在 xamarin.forms ios 中隐藏标签栏顶部边框颜色。
UITabBar.Appearance.SelectedImageTintColor = UIColor.FromRGB(247, 148, 30);
【问题讨论】:
标签: xamarin xamarin.ios xamarin.forms
我已使用以下代码更改了选项卡栏选定的文本颜色。但我不知道如何在 xamarin.forms ios 中隐藏标签栏顶部边框颜色。
UITabBar.Appearance.SelectedImageTintColor = UIColor.FromRGB(247, 148, 30);
【问题讨论】:
标签: xamarin xamarin.ios xamarin.forms
在 AppDelegate 中设置它,它在我这边工作得很好。
UITabBar.Appearance.BackgroundImage = new UIImage();
UITabBar.Appearance.ShadowImage = new UIImage();
【讨论】: