[FIXED] Remove tinting from iOS TabBar


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)
    TabBar.TintColor = UIKit.UIColor.Clear;

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


You cannot.

Tab bar buttons don’t display colors. Tab bar buttons use only the alpha information from the images you assign to them. You can use a segmented control instead.

Answered By – Duck

Answer Checked By – Timothy Miller (Easybugfix Admin)

Leave a Reply

(*) Required, Your email will not be published