[英]Move the tableview according to indexPath.row
我有一個水平的表格視圖,我想移動該表格視圖並根據我在視圖中間給出的indexPath.row定位單元格。
我正在嘗試找到方法,但找不到它:(
你可以幫幫我嗎。
謝謝 !
我認為您正在尋找:
[self.tableView scrollToRowAtIndexPath:indexPath atScrollPosition:UITableViewScrollPositionMiddle animated:YES];
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.