title: Set an image as background for TableView with Storyboard in iOS
body: <p>Storyboard is causing to me a lot of problems! :(</p>
  
  <p>Now I'm trying to put an image as a background of a tableview in iOS.
  I've done a png image with transparency in photoshop and I've imported it into my project.</p>
  
  <p>** The first question is: is it possible to set the image background in storyboard?
  I thought that a good idea was to create and image view and put it on my table view... but storyboard doesn't allow my to do this.</p>
  
  <p>** I've also tried to add the background image via code:</p>
  
  <pre><code>- (void)viewDidLoad
  {
  [super viewDidLoad];
  
  self.tableView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"table_background.png"]];
  
  ...
  }
  </code></pre>
  
  <p>I obtained an horrible result with a black background instead of white, even if the png is transparent!</p>
  
  <p>Moreover I've read that to optimize performances, it should be better to avoid transparent background for cells.</p>
  
  <p><strong>So, what it the best way to set an image as a background for a table view with storyboard?</strong></p>
  
  <p>Thank you in advance,
  yassa</p>