I am planning on using CAAnimation
to switch views but I am confused on how to actually do this. I know CAAnimation
works by using a to and from Value so how would I move a UIView by using toValue
and fromValue
. Lets say I want to mimic the UINavigationController
's pushVie开发者_Go百科wController
, how would I do this using CAAnimation
like I mentioned above?
Thanks!!!
If you use the simple animation, you can use the UIView
APIs, like beginAnimations:context:
About CAAnimation
, you can get the sample from doc reference
精彩评论