Ell*_*hen 16
你的意思是你想要从轨到头显示你的数据?也许你应该在你的表的数据源方法中执行它:
- (UITableViewCell *)tableView:(UITableView *)tableView
cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
...
NSUInteger row = [indexPath row];
NSUInteger count = [listData count]; // here listData is your data source
cell.textLabel.text = [listData objectAtIndex:(count-row-1)];
return cell;
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3910 次 |
| 最近记录: |