Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

NavigationItem button with custom image - Can't see image

$
0
0

I need to set a custom image on the left button for the Navigation bar.

I'm doing something like

var image = UIImage.FromFile (AppPath + "anImage.png");
NavigationItem.LeftBarButtonItem = new UIBarButtonItem (image, UIBarButtonItemStyle.Plain, null);

However I can't see the image on the button due to the tint (check image attached). I have tried setting the tint to some other color, even to Clear, but nothing seems to work.

Thoughts? Thanks, R.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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