/ Published in: Objective C
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// with an image: self.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"whiteBackground.png"]]; // with a UIColor value self.backgroundColor = [UIColor redColor]