I want to detect if mytable view has been scrolled, I tried all touch events like this one:
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
These are the methods from UITableViewDelegate for Swift 3 to detect when an UITableView will scroll or did scroll:
UITableViewDelegate
UITableView
func scrollViewWillBeginDragging(_ scrollView: UIScrollView) { } func scrollViewDidScroll(_ scrollView: UIScrollView) { }