2013-10-02 1 views

답변

1

UITableViewSource에 GetHeightForHeader을 무시 시도하고 0을 반환하는 것이 첫 번째 섹션

- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section 
{ 
if (section == 0) return 0; 
    return tableView.sectionHeaderHeight; 
} 

자 마린에서, 그것은의 모습 : 화면

public override float GetHeightForHeader (UITableView tableView, int section) 
{ 
    if (section == 0) 
    return 0; 
    return tableView.SectionHeaderHeight; 
} 
+1

감사합니다. obj-c 값은 입니다. - (CGFloat) tableView : (UITableView *) tableView heightForHeaderInSection : (NSInteger) 섹션 { if (section == 0) return 0; return tableView.sectionHeaderHeight; }' – Ketan

관련 문제

 관련 문제