[英]How to scroll to specific section in UITableView (or ListView of android) and update on bar?
我想滚动到特定部分并更新在栏上选择的状态,如 TableView 中的选项卡
因此,当我在选项卡上选择“11/2013”或向下滚动到“11/2013”部分时,它会根据所选内容更新状态:
来试试UITableView的这个方法
- (void)scrollToRowAtIndexPath:(NSIndexPath *)indexPath atScrollPosition:(UITableViewScrollPosition)scrollPosition animated:(BOOL)animated;
//indexPath (row,section)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.