So I have this line of code:
[tableView setContentOffset:point animated:YES];
and I want to run another piece of code after the animation ends. My a
Try to use this method:
[UIView animateWithDuration:0.6f delay:0.0f options:UIViewAnimationOptionCurveEaseOut animations:^{ // Do your animations here. } completion:^(BOOL finished){ if (finished) { // Do your method here after your animation. } }];