mardi 9 août 2016

UITableView listen user scroll not its delegate

There is a uitableview. When i insert a row ,i call the method `[tableView scrollToRowAtIndexPath:lastRow atScrollPosition:UITableViewScrollPositionBottom animated:NO];` to keep the newest cell show. how can i listen user scroll the tableview. i tried add uiscrollview delegate - scrollViewDidScroll, but this method also listen [tableView scrollToRowAtIndexPath:atScrollPosition:animated:]

Aucun commentaire:

Enregistrer un commentaire