PJR*_*PJR 5 iphone objective-c uitableview ios
mailSubscritionTable.separatorColor = [UIColor blueColor];
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
return 5;
}
Run Code Online (Sandbox Code Playgroud)
但是,我在这里得到更多的分隔符,我希望只显示5个分隔符.
这非常简单:
tableView.tableFooterView = [[[UIView alloc] init] autorelease];
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
744 次 |
| 最近记录: |