1 removing the split line
Remove Split Line self.tableView.separatorStyle = Uitableviewcellseparatorstylenone;
2 Height setting
-(CGFloat) TableView: (UITableView *) TableView Heightforrowatindexpath: (Nsindexpath *) indexpath{UITableViewCell * cell = [self Tableview:tableview cellforrowatindexpath:indexpath]; return cell.frame.size.height; Custom Height//return 110;}
3 custom cell, which will detail how to customize the cell, as a result of the temporal relationship, here is a temporary way to use, as follows:
- (uitableviewcell *) TableView: (uitableview *) Tableview cellforrowatindexpath: (NSIndexPath *) Indexpath{ //mycell is a cell class of its own definition mycell *cell = [tableview dequeuereusablecellwithidentifier:@ "Cellidentifier"]; if (! Cell) { NSArray *objects = [[NSBundle mainbundle] loadnibnamed:@ "MyCell" owner:self options:nil]; for (nsobject *o in objects) { if ([O iskindofclass:[mycell class]]) { cell = (mycell *) o; break; } } } //Configure you cell //... return cell;}
3
IOS Learning Note--tableview Use details (i)