본문 바로가기

Development/IOS & Mac

[IOS] UIScrollView contentOffset 애니메이션 후 다른 작업하기

[UIView animateWithDuration:2.0

                                  delay:0

                                  options:UIViewAnimationOptionCurveEaseInOut

                                  animations: ^(void) {


                                      [scrollView setContentOffset:CGPointMake(x, y)];

 

                                  } completion:^(BOOL isFinished) {


//다른거 하기~!


                                   }];