Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradient colors showing as much darker than specified colors #10

Open
bliebman opened this issue Sep 7, 2014 · 3 comments
Open

Gradient colors showing as much darker than specified colors #10

bliebman opened this issue Sep 7, 2014 · 3 comments

Comments

@bliebman
Copy link

bliebman commented Sep 7, 2014

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
Copy link
Owner

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

@avishaan
Copy link

Same issue here. 👀

@mferber
Copy link

mferber commented Nov 3, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants