Disable shade on user images uibarbuttonitem

My navigation controller has user dashboard elements.

enter image description here

( Zoom in for a better view of the border )

the screenshot above is how it should look and how I added the image of the barbutton element. as you can see, the icon is darker gradients above.

but as all the icons are tinted, this dark gradient is also painted white, and my icon looks extremely blurry.

I just threw them in your storyboard.

enter image description here

Is there a way to disable these toning barbatneytov?

+6
source share
1 answer

In iOS 7 navigation bar tintColor affect the color of the background image, titles, buttons and button images. Property barTintColor affects the color of the bar. So you can try to install barTintColor and check whether it solves your problem.

In addition, when using barButtonItem images should try the following code:

 myImage = [myImage imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]; 
+25
source

All Articles