开发者

CAAnimation trouble

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜