【发布时间】:2011-06-03 15:03:07
【问题描述】:
我有一个带有行和部分的 UITableView。 我想滚动到第二部分的第一项,让第一部分的标题可见。就像我手动滚动列表直到达到那个状态一样。
---- TOP OF SCREEN ----
Header of first section
Header of the second section
cell 1
cell 2
cell 3
Header of the third section
cell 1
cell 2
...
scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:1] 不做这项工作,它隐藏了第一部分的标题。
【问题讨论】:
标签: iphone uitableview uiscrollview scroll sectionheader