1
나는 UITableViewCells의 목록을 포함하는 UITableView 있습니다. 그리고 UITableViewCells의 높이를 설정했습니다.UITableViewCell UIWebview 확장 동적으로 높이
나는 UITableViewCells의 목록을 포함하는 UITableView 있습니다. 그리고 UITableViewCells의 높이를 설정했습니다.UITableViewCell UIWebview 확장 동적으로 높이
당신의 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 :를 구현하고 데이터 소스를 기반으로 각 행의 높이를 계산해야합니다.
무엇이 당신의 질문 남자입니까 ?? 좀 더 명확하게 할 수 있니? – Abhishek