title: How to change the bounce-region's color/background for a horizontal UITableView
body: <p>I'm working on a custom "Pulse style" UITableView according to <a href="http://iosstuff.wordpress.com/2011/06/29/creating-pulse-style-scrolling-horizontally-scrolling-uitableview-as-a-subview-of-uitableviewcell/" rel="nofollow noreferrer">this tutorial</a>, and everything is going great. I've made some modifications and extensions but there is one feature I'd like to implement that I need some help with: the color of the horizontal bounce regions.</p>
  
  <p>This is the method that creates my cell with a table view in it:</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {    
      NSString *cellIdentifier = [@"TableViewCell" stringByAppendingFormat:@"%i", self.content.indexInArrayOfViews];
      UIView *view = [self.content viewAtIndex:indexPath.row];
      UITableViewCell *cell = [self.horizontalTableView dequeueReusableCellWithIdentifier:cellIdentifier];
  
      if (cell == nil) {
          cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:cellIdentifier] autorelease];
  
          view.center = CGPointMake(view.center.y,view.center.x);
          view.contentMode = UIViewContentModeCenter;
  
          view.transform = CGAffineTransformMakeRotation(M_PI_2);
          cell.selectionStyle = UITableViewCellSelectionStyleNone;
      }
  
      [cell addSubview:view];
  
      return cell;
  }
  </code></pre>
  
  <p>I'm aware there is a reuse cell issue, but for right now I want to change <a href="https://i.imgur.com/leRJG.png" rel="nofollow noreferrer">this color here [IMG]</a>.</p>
  
  <p>I can control the color of the vertical table view bounce areas, but I am having difficulty replicating this success for my horizontal view.</p>
  
  <p>This is how I do it vertically:</p>
  
  <pre><code>CGRect frame = self.tableView.bounds;
      frame.origin.y = -frame.size.height;
      UIView* topBack = [[UIView alloc] initWithFrame:frame];
      topBack.backgroundColor = [self.delegate backgroundColorForTopOfTableView];
      [self.tableView addSubview:topBack];
      [topBack release];
  </code></pre>
  
  <p><a href="https://stackoverflow.com/questions/1166236/light-gray-background-in-bounce-area-of-a-uitableview">This was according to this StackOverflow question.</a></p>
  
  <p><strong>How do I change the color/background of my horizontal table view (which is nested in a table view cell)?</strong></p>
  
  <p><a href="https://imgur.com/a/17wNv" rel="nofollow noreferrer">Here is an album with some relevant iPhone screenshots and IB screenshots.</a></p>