title: iOS 8 - autoresizing cells don't always show all label text
body: <p>basically I'm using autoresizing custom table view cells to display data on a table view and they resize perfectly, usually. The cells have a <code>UILabel</code> on them to display the data and the cells autoresize if the devices text size is changed. I'm sometimes having troubles with the cells autoresizing to show all of the <code>UILabel</code>'s text. For example if the text size is medium sized, it sometimes doesn't fully display all the text of a longer label, it will show most of it then show "..." but if I increase or decrease the text size it will show it all but it might do the same thing for a different cell. </p>
  
  <p>Any suggestions? Here's my code that calls the autoresize:</p>
  
  <pre><code>- (void)viewDidAppear:(BOOL)animated
  {
  
      [self.tableView reloadData];
  
      [self retrieveFromParse];
  
      self.tableView.estimatedRowHeight = 100;
      self.tableView.rowHeight = UITableViewAutomaticDimension;
  
  }
  </code></pre>
  
  <p>and to autoresize depending on text size:</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
  
      static NSString *CellIdentifier = @"CellIdentifier";
  
      _cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath];
  
      if (_cell == nil)
      {
          _cell = [[TableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier];
      }
  
      PFObject *object = [_postsArray objectAtIndex:indexPath.row];
  
      NSString *nameString = [object objectForKey:@"Name"];
  
      _cell.cellLabel.text = [NSString stringWithFormat:@"Posted by %@", nameString];
      _cell.cellPostLabel.text = [NSString stringWithFormat:@"   %@", [object objectForKey:@"Post"]];
  
      //The following lines are to auto resize when the text size is changed
  
      _cell.cellLabel.font = [UIFont preferredFontForTextStyle:UIFontTextStyleFootnote];
      _cell.cellPostLabel.font = [UIFont preferredFontForTextStyle:UIFontTextStyleSubheadline];
  
      return _cell;
  
  }
  </code></pre>