[英]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.