CRGradientNavigationBar icon indicating copy to clipboard operation
CRGradientNavigationBar copied to clipboard

Gradient colors showing as much darker than specified colors

Open bliebman opened this issue 10 years ago • 3 comments

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.

bliebman avatar Sep 07 '14 17:09 bliebman

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

christianroman avatar Sep 07 '14 22:09 christianroman

Same issue here. :eyes:

avishaan avatar Sep 15 '14 20:09 avishaan

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:

  • If I set the gradient in FOONavigationController:init, the colors come out dark.
  • (workaround:) If I set it each time we push or pop a view controller, it works as expected.

Very mysterious! Hope this helps.

mferber avatar Nov 03 '14 22:11 mferber