ios - Implement heightForRowAtIndexPath -
ios - Implement heightForRowAtIndexPath -
i have next code:
- (uitableviewcell *) tableview:(uitableview *)tableview cellforrowatindexpath:(nsindexpath *)indexpath { if (indexpath.row == 10) { tableview:heightforrowatindexpath // create lastly row height = 100; } homecoming cell;
you mean this?:
-(cgfloat)tableview:(uitableview *)tableview heightforrowatindexpath:(nsindexpath *)indexpath { if (indexpath.row == 10) homecoming 100.0; homecoming 44.0; }
ios uitableview
Comments
Post a Comment