Skip to content

Commit

Permalink
Remove limit on cell display size
Browse files Browse the repository at this point in the history
  • Loading branch information
danielamitay committed Feb 7, 2013
1 parent 1224fc6 commit d806b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iHasAppExample/iHasAppExample/DetailViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPa
NSString *key = [self.appDictionary.allKeys objectAtIndex:indexPath.row];
NSString *value = [[self.appDictionary objectForKey:key] description];

CGSize maxSize = CGSizeMake(self.view.bounds.size.width - 20.0f, 999.0f);
CGSize maxSize = CGSizeMake(self.view.bounds.size.width - 20.0f, CGFLOAT_MAX);
CGSize labelSize = [value sizeWithFont:[UIFont systemFontOfSize:14.0f]
constrainedToSize:maxSize
lineBreakMode:NSLineBreakByTruncatingTail];
Expand Down

0 comments on commit d806b0a

Please sign in to comment.