title: Setting background to transparent on Custom UITableViewCell iOS 5 not working, none of the tricks are working
body: <p>So, this title probably makes me look new and like I haven't looked for answers here, so first, let me state that: I did already check for answers on setting the background to transparent, as well as selection to custom (also not working).</p>
  
  <p>My point: I created a custom table view cell, set everything to transparent, but nothing was transparent.</p>
  
  <p>So I looked here, looped through all the subviews, their subviews, and the cell.backgroundColor and set it to transparent.</p>
  
  <p>I implement the -(tableView*)willDisplayCell method and did the recommended steps, still not transparent.</p>
  
  <p>I messed with the setSelected: callback method, doing the recommended along with setting the subviews to transparent.</p>
  
  <p>Now I must thank Apple for a white background.</p>
  
  <p>So I eventually just plugged in an image view with a similar color. I would prefer not to use that method.</p>
  
  <p>I set the type to a custom table view cell, (in the Xib, I chose "Custom" in the drop down on the main view properties on the right).</p>
  
  <p>Here's my code: 
  [code] (sorry about formatting, StackOverflow says the tab key will do it... in a browser...)</p>
  
  <pre><code> if (cell == nil) {
  
          NSArray *topLevelObjects = [[NSBundle mainBundle] loadNibNamed:@"TheCustomTableViewCellTableViewCell" owner:self options:nil];
  
          // Grab a pointer to the first object (presumably the custom cell, as that's all the XIB should contain).
  
          cell = [topLevelObjects objectAtIndex:0];
  
         // Load the top-level objects from the custom cell XIB.
  
          TheCustomTableViewCell * customCell = (TheCustomTableViewCell*)cell;
  
          customCell.titleTextLabel.text = item.title;
  
  //This is Matt Gallagher 's answer modified but isn't working       
  
  cell.selectedBackgroundView = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, 100, 100)] autorelease];
  
          cell.selectedBackgroundView.backgroundColor = [UIColor redColor];
  </code></pre>
  
  <p>[/code]</p>
  
  <p>Final note, I've tried hooking up different views inside my Xib as "The backgroundView" and setting those to transparent, as well as create my own, curious if there's a specific way I have to do that to get it to finally be transparent.</p>
  
  <p>I have a feeling recursively looping through every single view is not the best solution, and probably wouldn't work.</p>
  
  <p>It could just be I need to reboot the computer, but I've already cleaned the build and restarted XCode 4.</p>
  
  <p>Any help would be greatly appreciated... I'm in Xcode 4 iOS 5, the one that makes having dual monitors pointless by stripping all your edit functions out of the Xib editor if you try to edit it in the other window! Just to be specific. Also, the install is fresh, I don't have the iOS 4 emulator, will grab it soon and see if it's version issues</p>