私はcellForRawIndexPathで、あなたの質問を理解している場合、あなたは、私がそのためにこの機能を使用
EDIT
if(indexPath.section==0){
//set the style you wish to add only to the first section
}
幸運をアドオンする必要があり -
+(void)setTransparentBgToCell:(UITableViewCell*)cell{
UIView *backgroundView = [[UIView alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 320.0f, 44.0f)];
backgroundView.backgroundColor = [UIColor clearColor];
cell.backgroundView = backgroundView;
[backgroundView release];
cell.selectionStyle=UITableViewCellSelectionStyleNone;
cell.textLabel.backgroundColor = [UIColor clearColor];
cell.detailTextLabel.backgroundColor = [UIColor clearColor];
}
シャニ
セクションヘッダーに変更した場合は、以前と同じようにスクロールしません。つまり、画面上部にスティックが表示され、その下にセクションがスクロールします。これは、おそらくあなたが望まないものです。 – noRema