代碼: - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. //寫法比較新奇 UIColor *bgColor =[UIColor redColor]; self.
代碼:
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view.
//寫法比較新奇
UIColor *bgColor =[UIColor redColor];
self.view.backgroundColor = bgColor;
}