2010-05-06 32 views

回答

0

你應該使用:

[yourTableView numberOfRowsInSection:sectionNumber]; 

此方法檢查中所需部分的行數。

0

嘗試調用:

int rowsInSection = [tableView.dataSource tableView:(UITableView *)tableView numberOfRowsInSection:section]); 

這應該做的伎倆。

相關問題