mailSubscritionTable.separatorColor = [UIColor blueColor];
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
return 5;
}
但是,我在这里得到更多的分隔符,我希望只显示5个分隔符。
答案 0 :(得分:7)
这非常简单:
tableView.tableFooterView = [[[UIView alloc] init] autorelease];