GoAutoSlideView icon indicating copy to clipboard operation
GoAutoSlideView copied to clipboard

Set slide animation options

Open Amanida opened this issue 8 years ago • 1 comments

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.

Amanida avatar Jun 29 '17 09:06 Amanida

@Amanida I tried the code above, and it worked well. Btw, UIViewAnimationCurveEaseInOut->UIViewAnimationOptionCurveEaseInOut

zjmdp avatar Jun 30 '17 02:06 zjmdp