1

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?

4

1 回答 1

0

在 Xcode 中,当您选择视图控制器的视图(而不是视图控制器本身)时,属性检查器中有 backgroundColor。在 Xcode 5 中,它与在 Xcode 4 中相同,只需确保您选择了 viewController 的视图 :)

于 2013-06-12T16:45:14.197 回答