ltebean / LTNavigationBar

UINavigationBar Category which allows you to change its appearance dynamically
MIT License
4.46k stars 677 forks source link

CAGradient Background Layer #29

Open funkenstrahlen opened 8 years ago

funkenstrahlen commented 8 years ago

I would like the NavigationBar to use a gradient background layer when it is in the transparent state. Some images have very light colors which makes the navigation bar content elements nearly invisible.

What is the best way to do that?

funkenstrahlen commented 8 years ago

Maybe something like this could work: http://zappdesigntemplates.com/custom-gradient-navigation-bar-in-ios-using-swift/