when using using navigationbar write
this.navigationcontroller.navigationbar.bartintcolor = constants.primarycolor; this.navigationcontroller.navigationbar.translucent = false;
but want particular viewcontroller has no navigationbar.
how can achieve this?
you can this:
navigationcontroller.navigationbar.backgroundcolor = uicolor.orange; navigationcontroller.navigationbar.bartintcolor = uicolor.orange; var attr = new uistringattributes(); attr.foregroundcolor = uicolor.white; navigationcontroller.navigationbar.titletextattributes = attr; navigationcontroller.navigationbar.translucent = false; navigationcontroller.navigationbar.barstyle = uibarstyle.black;
the last line trick...
Comments
Post a Comment