如何获取UITableView 每个section的Rect
例: tableView.rectForSection(indexPath.section)
移动UITableView
self.tableView.scrollToRowAtIndexPath(NSIndexPath(forRow: 0, inSection: 1), atScrollPosition: .Top, animated: true)
本文介绍如何使用Swift在UITableView中获取每个section的矩形区域,并演示如何通过代码实现UITableView的滚动定位到特定section。
例: tableView.rectForSection(indexPath.section)
移动UITableView
self.tableView.scrollToRowAtIndexPath(NSIndexPath(forRow: 0, inSection: 1), atScrollPosition: .Top, animated: true)

被折叠的 条评论
为什么被折叠?
