Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Remove tinting from iOS TabBar

$
0
0

I have a TabBar at the bottom of my view that I dont want any tinting on. As od iOS 7, iOS automatically tints the icons blue and I dont want this to happen.

I have tried writing a custom renderer but setting the tint colour to clear simply removes the icon (should have seen that one coming).

protected override void OnElementChanged(VisualElementChangedEventArgs e)
{
    base.OnElementChanged(e);
    TabBar.TintColor = UIKit.UIColor.Clear;
}

I want to have an image for the tab item without any tinting. How can this be done?


Viewing all articles
Browse latest Browse all 89864

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>