문제

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?

도움이 되었습니까?

해결책

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 :)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top