Comments (2)
I'm trying to solve the problem.
I'm not sure if this could solve your problem. A temporally solution for me is (example):
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
YourViewController *yourViewController = [[YourViewController alloc] init];
UINavigationController *navigationController = [[UINavigationController alloc] initWithNavigationBarClass:[CRGradientNavigationBar class] toolbarClass:nil];
[[navigationController navigationBar] setTranslucent:NO];
// Notice that you don't need to reconfigure the gradient colors
[navigationController setViewControllers:@[yourViewController]];
[self.navigationController presentViewController:navigationController animated:YES completion:nil];
//[tableView deselectRowAtIndexPath:indexPath animated:YES];
}
This is not the best solution. I'm working on it.
from crgradientnavigationbar.
This solution didn't work out for me..
I'm using IBAction on the gear icon on the first picture to present the modal view.
In storyboard, I've set navigation bar in parent view controller to CRGradientNavigationBar, and also navigation bar in modal view to CRGradientNavigationBar.
If translucency is set to NO in modal view, the color is dark no matter what parent translucency is.
from crgradientnavigationbar.
Related Issues (12)
- Navigaton Bar for Single Controller HOT 4
- Gradient colors showing as much darker than specified colors HOT 3
- EKEventEditViewController don't work with Gradient
- Double Navigation Bars
- Horizontal gradients? HOT 2
- Gradient not showing – only the second color HOT 5
- Allow other directions
- Issue later iOS 7.1
- Loose gradient when screen rotate
- Storyboards? HOT 1
- Totally different if set translucent yes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crgradientnavigationbar.