Skip to content

Set slide animation options #2

Description

@Amanida

Could you add a feature to set animation options?
I want to set UIViewAnimationOptionCurveEaseInOut option during animating.
I tried out with the below code, but It didn't work properly.

    [UIView animateWithDuration:.5
                          delay:0
                        options:UIViewAnimationCurveEaseInOut
                     animations:^{
                         [scrollView setContentOffset:offset animated:NO];
                     } completion:nil];

I think it cannot create a new view in the animation block.
It will be awesome if you implement this feature.
Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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