Return to Snippet

Revision: 41502
at February 19, 2011 03:25 by Mazzaroth


Initial Code
	NSString *backgroundPath = [[NSBundle mainBundle] pathForResource:@"Image-name" ofType:@"png"];
	UIImage *backgroundImage = [UIImage imageWithContentsOfFile:backgroundPath];
	UIColor *backgroundColor = [[UIColor alloc] initWithPatternImage:backgroundImage];
	self.tableView.backgroundColor = backgroundColor; 
	[backgroundColor release];

Initial URL


Initial Description


Initial Title
NSTableView background image

Initial Tags
image, background, iphone

Initial Language
Objective C