Pergunta

Okay, I just downloaded Xcode 5... Previously, I was able to edit the background from the attributes inspector. Now, I have to implement this to change my background color:

self.view.backgroundColor = [UIColor blueColor];

Is it even possible to use the previous method of editing a view controller's background color with the attributes inspector using Xcode 5?

Foi útil?

Solução

In Xcode, when you select the view of the view controller (not the view controller itself) you have backgroundColor in the Attributes inspector. In Xcode 5 it's the same as it is in Xcode 4, just make sure you are selecting viewController's view :)

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top