christianroman / CRGradientNavigationBar

Custom UINavigationBar subclass which allows gradient coloured navigation bar on iOS 7.
MIT License
914 stars 116 forks source link

Gradient colors showing as much darker than specified colors #10

Open bliebman opened 10 years ago

bliebman commented 10 years ago

Hey croman,

Your navigation bar works great, but the colors that I include in the array show up much darker than they should. When I set both gradient colors to white (ffffff) then the nav bar is a solid gray.

Thanks for your help! I'm using storyboards.

christianroman commented 10 years ago

Thanks, I'm going to review this issue today, seems that iOS 7.1.x makes the translucent property look different.

avishaan commented 10 years ago

Same issue here. :eyes:

mferber commented 10 years ago

Hi — I've hit this in a very peculiar way. I'm using a subclass of UINavigationController — call it FOONavigationController — that hides the navigation bar in certain circumstances, and also happens to use CRGradientNavigationBar. What I'm finding is:

Very mysterious! Hope this helps.