xcode4.2.1 - storyboard - Navigation controller - Title bar color
Asked Answered
R

3

5

I am designing an app with storyboard with minimal coding. So, I am designing everything using views and buttons without the need for header files.

What is the easiest way to change the default blue title bar color to black with minimal coding?

Reparable answered 3/3, 2012 at 7:36 Comment(0)
R
3

Add this to your Info.plist file

enter image description here

Rrhagia answered 3/3, 2012 at 10:42 Comment(0)
P
30

Select the nav controller in the left scene selector. enter image description here

And click on the "Style" drop down menu and select the one you want.

Predictor answered 26/6, 2012 at 9:53 Comment(0)
F
4

Select "Navigation Controller > Navigation Bar" in the storyboard and use the attributes inspector.

enter image description here

Frodeen answered 3/3, 2012 at 14:16 Comment(3)
Strange, in XCode 4.3.2 I just see Simulated Metrics in the attributes inspector. None of what's in your screenshot.Exonerate
I just fixed the answer. It should have specified to select the Navigation Bar. Notice the jump bar at top of the image has the Navigation Bar showing.Unstained
And of course, it is not possible to actually click on the navigation bar to select it, that would be too easy. You need to click on "Navigation Controller" in the jump bar to bring up the menu, follow the small arrow, and select "Navigation Bar" in the submenu.Tortuous
R
3

Add this to your Info.plist file

enter image description here

Rrhagia answered 3/3, 2012 at 10:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.