Uh oh!
There was an error while loading. Please reload this page.
NavigatorIOS custom navbar colors - #943
Conversation
tintColor, barTintColor, titleTextColor UIExplorer example added
There was a problem hiding this comment.
Lets remove the StatusBarIOS code from here. There is already an example for that. If we keep every example as simple as possible, people will be able to learn faster.
Also, with our style conventions, this would look like this: StatusBarIOS.Style.lightContent
There was a problem hiding this comment.
StatusBarIOS style switch removed, I changed the color of barTintColor to get better contrast (another blue, from React Native website :P)
ericvicenti
commented
Apr 21, 2015
Looking pretty good! Few notes: If you upgrade to 0.4.0, you will notice that the app can't run because of flow errors. It looks like you need to annotate the new properties in getInitialState Also, do you know of any way to change the colors for one scene rather than changing the colors for the whole navigator? |
eduardinni
commented
Apr 22, 2015
I tried to change the colors only for one scene but the example gets more complex. Hidden the main nav bar and adding another NavigatorIOS component or adding an external example like in Navigator maybe confuse and I think it's not necessary. Maybe we can achieve this with 'pop' events like didPopItem or something (ok, this is another case :P) |
josebalius
commented
Apr 23, 2015
Would love to see this get merged! |
nicklockwood
commented
Apr 23, 2015
It has been internally - just not in time for the last github merge. It will be in the next one. |
tintColor, barTintColor, titleTextColor UIExplorer example added.
Based on @ericvicenti comments on pull request #695, this commit includes the example in the same view with a Reset button to default colors.