【问题标题】:How can I change the view from a view with animation如何从带有动画的视图中更改视图
【发布时间】:2012-06-20 09:03:47
【问题描述】:

我知道有两种方法,

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

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

但是,这些方式太无聊了。那么,我该怎么做才能有更多的动画呢?我应该从窗口添加视图?这有什么例子吗?

谢谢

【问题讨论】:

标签: ios animation view


【解决方案1】:

看看这些类似的问题:

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

-------------更新--------------

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

你可以下载它here

希望这会有所帮助!

【讨论】:

    猜你喜欢
    • 2016-02-22
    • 1970-01-01
    • 2014-09-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-04-03
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多