Skip to content

Set slide animation options #2

@Amanida

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.

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