2012-06-20 32 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