2011-10-11 21 views

回答

0

UITableView沒有列,所以不需要水平滾動。

滾動到細胞:

[self.tableView scrollToRowAtIndexPath:someIndexPath atScrollPosition:UITableViewScrollPositionBottom animated:YES] 

凡indexPath是行的位置。

我建議您閱讀UITableViewdocumentation

-2

滾動到UITableView的特定行是通過調用方法來完成:

[tableView scrollToRowAtIndexPath: atScrollPosition: animated:] 

但正規的UITableView沒有列。

如果你對水平tableView感興趣,有一個關於如何在This tutorial