Return to Snippet

Revision: 16449
at August 4, 2009 15:14 by arpit


Initial Code
// with an image:
self.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"whiteBackground.png"]];

// with a UIColor value
self.backgroundColor = [UIColor redColor]

Initial URL

                                

Initial Description

                                

Initial Title
Set background color for a view

Initial Tags

                                

Initial Language
Objective C