Skip to content

ScrollView Animation not working.  #1

@Amanida

Description

@Amanida

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];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions