Welcome to the Three20 forums! Before you dive too deep into things, please read our forum rules.
Image Background in a TTTableViewController
  • Hi

    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

  • 2 Comments sorted by
  • I have the answer. Inside the initWithNibName method :

    // Background
    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];

    [backgroundView release];

  • Is there a property in the stylesheet to do this ? Or Have I do it in every view ?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Twitter

Sign In Apply for Membership

In this Discussion

Tagged

Latest Three20 version: 1.0.5

Who's Online (0)