title: UITableViewController Background Image
body: <p>How can I set an image for <code>UITableViewController</code>?</p>
  
  <p>I have used many things but it doesn't help me to set the image as background</p>
  
  <pre><code>UIImageView* bgView = [[[UIImageView alloc] initWithImage:
  [UIImage imageNamed:@"Default.png"]] autorelease];
  
  [tableView.backgroundView addSubview:bgView];
  </code></pre>
  
  <p>And this</p>
  
  <pre><code>[[self view] setAutoresizesSubviews:NO];
  
  UIView *backgroundView = [[UIView alloc] initWithFrame:self.view.frame];
  backgroundView.backgroundColor = 
    [UIColor colorWithPatternImage:
      [UIImage imageNamed:@"Default.png"]];
  
  self.tableView.backgroundView = backgroundView;
  self.tableView.backgroundColor = [UIColor clearColor];
  
  [backgroundView release];
  </code></pre>
  
  <p>And</p>
  
  <pre><code>self.navigationController.view.backgroundColor = 
    [UIColor colorWithPatternImage:
      [UIImage imageNamed:@"myImage.png"]];
  self.tableView.backgroundColor = [UIColor clearColor];
  </code></pre>
  
  <p>None of it worked for me.</p>