2012-06-20 34 views
1

我知道有两种方法,怎样才能改变视图从视图动画

  1. [self.navigationController pushViewController:siteViewController动画:是];

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

但是,这些方式太无聊了。那么,我能做些什么来获得更多的动画呢?我应该从窗口添加一个视图?任何关于这个的例子?

感谢

+0

http://stackoverflow.com/questions/6605959/implement-custom-animation-to-present-modal-view-from-specified-view-on-ipad – BBog

回答

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

希望这会有所帮助!

+0

酷! Thx寻求帮助 – Ian