반응형
[ios/tutorial] Flip Left/Right, & Curl Up/Down Animation |
-
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:1.5];
[UIView setAnimationCurve:UIViewAnimationCurveEaseIn];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft
forView:targetView
cache:YES];
[UIView commitAnimations];
-
animationTransition 에 들어갈 수 있는 constant 들은...
UIViewAnimationTransitionFlipFromLeft
UIViewAnimationTransitionFlipFromRight
UIViewAnimationTransitionCurlUp
UIViewAnimationTransitionCurlDown
UIViewAnimationTransitionNone
반응형
'프로그래밍 놀이터 > iOS' 카테고리의 다른 글
[ios/reference] Core Animation Basics (0) | 2017.11.20 |
---|---|
[ios/reference] Core Animation (0) | 2017.11.19 |
[ios/tutorial] Xcode 에서 주석을 통해 Documenting 하는 방법 (0) | 2017.11.16 |
[ios] nil? Nil? NULL? NSNull? (0) | 2017.11.15 |
[ios] xib 파일을 rendering 하는 custom view 만들기 (0) | 2017.11.11 |
댓글