GoAutoSlideView icon indicating copy to clipboard operation
GoAutoSlideView copied to clipboard

ScrollView Animation not working.

Open Amanida opened this issue 8 years ago • 1 comments

Thank you for awesome library, but animation is not working properly. The default value of animation is NO. I think the right default value is YES same as your Example project.

Line 91~94 in GoAutoSlideView.m

- (void)onTimerFired{
    CGPoint newOffset = CGPointMake(self.scrollView.contentOffset.x + CGRectGetWidth(self.bounds), self.scrollView.contentOffset.y);
    [self.scrollView setContentOffset:newOffset animated:NO];
}

It should be edited like [self.scrollView setContentOffset:newOffset animated:YES];

Amanida avatar Jun 29 '17 07:06 Amanida

Thank you for your comment. I guess I disabled animation just for avoiding a weird problem.

zjmdp avatar Jun 29 '17 08:06 zjmdp