반응형

// 1. 애니메이션 효과.
    [UIView beginAnimations:@"back" context:nil]; // 애니메이션 시작.
    [UIView setAnimationDuration:1.0]; // 전환 속도 실수형으로 줌(1.0 = 1초)
    [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
    [UIView setAnimationTransition:UIViewAnimationTransitionCurlDown forView:self.view.superview cache:YES];
    [UIView commitAnimations];
   
    // 2. 화면 전환.
    [self dismissViewControllerAnimated:YES completion:nil];

반응형
Posted by 컴스터
,