[UIView beginAnimations:@"left flip" context:nil];
[UIView setAnimationDuration:0.5];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:self.view cache:YES]; // 페이지 넘김효과시 옵션 변경
[self.view addSubview:myView.view];
[UIView commitAnimations];
[UIView beginAnimations:@"back" context:nil];
[UIView setAnimationDuration:0.5];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:self.view.superview cache:YES];
[self.view removeFromSuperview];
[UIView commitAnimations];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:self.view cache:YES];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlDown forView:self.view.superview cache:YES];
'프로그래밍 > iOS' 카테고리의 다른 글
iPhone용 Open Source 모음 (0) | 2011.06.05 |
---|---|
위치정보(GPS) (0) | 2011.06.03 |
@property 옵션 정리 (0) | 2011.06.03 |
iOS 메모리 관리 (0) | 2011.06.02 |
MPMoviePlayerController의 Notifications목록 (0) | 2011.06.02 |