Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove limit on cell display size

  • Loading branch information...
commit d806b0a5a598d7bd71700bf019c74cab50897640 1 parent 1224fc6
@danielamitay authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  iHasAppExample/iHasAppExample/DetailViewController.m
View
2  iHasAppExample/iHasAppExample/DetailViewController.m
@@ -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];
Please sign in to comment.
Something went wrong with that request. Please try again.