- (void)viewDidLoad {
self.view.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"yourImageFromResources.png"]];
[super viewDidLoad];
} Ondrej Rafaj on 2009.08.14 15:31:34
Example how to implement background image for UIView in your iPhone application.
- (void)viewDidLoad {
self.view.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"yourImageFromResources.png"]];
[super viewDidLoad];
} Ondrej Rafaj
Independent iPhone developer @ ondrej-rafaj.co.ukI am available to give you a free quote or start working on your project ... just give me a call or drop a line. Please find all my details on my portfolio site ondrej-rafaj.co.uk
We had to disable comments till the problem with spam will be solved, sorry for any inconvenience caused.