I want to add a ToolbarItem with a custom image to the toolbar.
The code I use to accomplish this:
ToolbarItems.Add (new ToolbarItem ("Hint", "ToolbarIcon.png", () => {
//Do something
}));
The image of the ToolbarItem is correctly shown on Android. Unfortunately it won't show correctly on iOS. I see a blue color instead of the original image colors.
Look at the screenshots to see the result. (first screenshot is iOS and second is Android)
What can I do to get the ToolbarItem show correctly on iOS? So without a color on top of the original image.
I already tried to add the following snippet to the FinishedLaunching method in AppDelegate.cs (= iOS specific)
UIBarButtonItem.Appearance.TintColor = UIColor.FromWhiteAlpha (1f, 0f);
Although this won't do the trick.