title: ios:UITableView wont scroll to bottom
body: <p>I have a scroll view with 3 <code>UITableViews</code> in it for paging. All of the <code>UITableViews</code> loads more cells of data. The first <code>UITableView</code> loads more cells than the other two. When viewing this first <code>UITableView</code> I am able to scroll to the bottom, but when I scroll to a second <code>UITableView</code> and back to the first <code>UITableView</code> I can no longer scroll all the way down. It seems as though I have to resize my scroll view. Why can't I scroll to the bottom after a view refresh? Any help would be great. </p>
  
  <p>*The first <code>UITableView</code> has a search bar at the top. The other two do not. I tried removing the search bar, but the error still occurs.</p>
  
  <pre><code>//Create a frame for each page and add the page to the scroll view
  - (void)frameToScrollView{
  
  if (pages!=NULL) {
  
      for (int i = 0; i &lt; pages.count; i++) {
  
          //Get the current view controller
          UITableViewController *controller = [pages objectAtIndex:i];
  
          //Create a frame for the current table view controller
          CGRect frame = controller.view.frame;
          frame.origin.x = self.scrollView.frame.size.width * i;
          frame.origin.y = 0;
          frame.size = self.scrollView.frame.size;
          controller.view.frame = frame;
  
          //Add the the current table view controller page to the scroll view
          [self.scrollView addSubview:controller.view];
      }
    }
  }
  </code></pre>
  
  <p>Set Other properties:</p>
  
  <pre><code>//Set the properties for the scroll view
  - (void)setScrollViewProperties{
       self.scrollView.contentSize = CGSizeMake(self.scrollView.frame.size.width * pages.count,     self.scrollView.frame.size.height);
      self.scrollView.contentOffset = CGPointMake(self.scrollView.frame.size.width, 0);
      self.scrollView.scrollsToTop = NO;
  }
  </code></pre>