ios - how to change background color of the navigation bar and navigation text color -
I want the background color of the navigation bar to be black and the text on the navigation bar wants to be white
< P> Everything looks fine on my simulator as shown below:
is not familiar with Ruby Motion, but you should use the UIAppearance proxy:
< Pre> [[UINavigationBar appearance] Set bertaint color: [self navbar collar]]; [[UINavigationBar appearance] SettentColor: [self navibetitler]]; [[UINavigationBar presence] setTitleTextAttributes: @ {NSForegroundColorAttributeName: [self-navitetter], NSFontAttributeName: [self-titlefont]}];
Before loading your main window in your app djallet you should do this.
Comments
Post a Comment