I need a little help... I'm trying to put an image as a background in a TTTableViewController. I think that it should be like putting an image in a standard UITableViewController but I'm not able...
Can anybody teach me how put a background?
Thank you very much
I have the answer. Inside the initWithNibName method :
UIView *backgroundView = [[UIView alloc] initWithFrame:self.view.frame];
backgroundView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"Background.png"]];
self.tableView.backgroundView = backgroundView;
self.tableView.backgroundColor = [UIColor clearColor];
Is there a property in the stylesheet to do this ? Or Have I do it in every view ?
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In Apply for Membership