【问题标题】:How to Hide Tabbar Top Border color in IOS Xamarin.forms如何在 IOS Xamarin.forms 中隐藏标签栏顶部边框颜色
【发布时间】:2017-12-04 04:56:06
【问题描述】:

我已使用以下代码更改了选项卡栏选定的文本颜色。但我不知道如何在 xamarin.forms ios 中隐藏标签栏顶部边框颜色。

 UITabBar.Appearance.SelectedImageTintColor = UIColor.FromRGB(247, 148, 30);

【问题讨论】:

    标签: xamarin xamarin.ios xamarin.forms


    【解决方案1】:

    AppDelegate 中设置它,它在我这边工作得很好。

    UITabBar.Appearance.BackgroundImage = new UIImage();
    UITabBar.Appearance.ShadowImage = new UIImage();
    

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-05-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-08-30
    相关资源
    最近更新 更多