2012-11-17 36 views

回答

2

在你的表视图控制器,实现以下方法:

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { 
    if (indexPath.section == 0) { 
     if (indexPath.row == 0) { 
      // The first cell 
      return 25.0; 
     else if (indexPath.row == 1) { 
      return 44.0; 
     } 
    } 
    // Default 
    return 30.0; 
} 
+0

这篇帮助您的问题? – lnafziger

相关问题