2012-07-04 2 views

답변

0

당신의 UITableViewDelegate이있는 tableView를 구현해야합니다 : heightForRowAtIndexPath :

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath  *)indexPath 
{ 
return [indexPath row] * 20;// or whatever you need to set height 
} 

또는

모든 세포가 동일한 경우

, 당신의 세포의 크기에 jQuery과의 rowHeight의 속성을 설정합니다. 내용에 따라 다르다면 -tableView : heightForRowAtIndexPath :를 구현하고 데이터 소스를 기반으로 각 행의 높이를 계산해야합니다.