如何使用动画更改视图

时间:2012-06-20 09:03:48

标签: ios animation view

我知道有两种方法,

  1. [self.navigationController pushViewController:siteViewController animated:YES];

  2. [self presentModalViewController:anotherViewController animated:YES];

  3. 然而,这些方式太无聊了。那么,我该怎么做才能拥有更多动画呢?我应该从窗口添加一个视图?关于这个的任何例子?

    由于

1 个答案:

答案 0 :(得分:1)

查看以下类似问题:

此外,这是一个非常酷的库,可以轻松实现3D视图转换:http://maniacdev.com/2011/08/open-source-3d-view-transitions-library-including-cloth-and-flip-style-transitions/

-------------- UPDATE --------------

这也是一个非常简洁的转换库,名为MPFoldTransition,它允许这样的转换:

enter image description here

您可以下载here

希望这有帮助!

相关问题