In the projectName.plist file
Information Property List > Icon files (iOS5) > Primary Icon >
add "Icon already includes gloss effects" and set value YES
當個有智慧的母親
7 年前
MAKE PLAN AND REALIZE IT
In the projectName.plist file
Information Property List > Icon files (iOS5) > Primary Icon >
add "Icon already includes gloss effects" and set value YES
開發小筆記
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
NSString *cellText = @"Go get some text for your cell.";
UIFont *cellFont = [UIFont systemFontOfSize:23];
CGSize constraintSize = CGSizeMake(280.0f, MAXFLOAT);
CGSize labelSize = [cellText sizeWithFont:cellFont constrainedToSize:constraintSize lineBreakMode:UILineBreakModeWordWrap];
return labelSize.height + 20;
}