How do I change background color of storyboard in xcode 4.6.2

25,023

Solution 1

You are most probably clicking on the view controller which is showing those properties that can be adjusted in the view controller itself. This can be found out on the left of the storyboard or Interface Builder.

View controller

A view is not the same as view controller. A view controller manages a set of views, as mentioned in the View Controller Programming Guide for iOS.

Try to click on the view of the view controller and you should be able to modify the background color of the view:

enter image description here

Solution 2

Select the view under the view controller in the storyboard panel. Then go to the Attributes Inspector. Backgorund is about the 4th item down.

Share:
25,023
Herbie999
Author by

Herbie999

I've always wanted to code but didn't think I could. This site and all the help I'm getting from people on here is proving me wrong!!! Hopefully I can help people when I get good at it! Update: Just got my first app in the app store and even made a little money! This site and the people here were a HUGE part of that!

Updated on July 09, 2022

Comments

  • Herbie999
    Herbie999 almost 2 years

    I am working with storyboards in xcode 4.6.2 I simply want to change the background color of the storyboard. Usually I would think (and according to tutorials) I just go to the inspector on the right and there's a drop down to change the background color. However it's not showing up. Instead I see too areas, "simulated metrics" which shows drop down for size, orientation, status bar, top bar and bottom bar and "view controller" which shows title, initial scene check box layout check box which offers wants full screen, hides bottom bar and resize options and transition and presentation style check boxes. Any one know why I don't see anything for changing background color etc.. am I missing something here? Any help would be greatly appreciated.

  • Herbie999
    Herbie999 about 11 years
    Aww man, thank you so much! That did the trick! I appreciate the help :)