Set View background with image
suggest changeimageNamed: is nil when Background.png is not in the bundle, and this color tiles the image instead of stretching it.
self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"Background.png"]];
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents