2016-12-01 104 views
1

我一直在四處搜尋,但無法找到似乎解決了我的特定問題的答案。在我的應用程序中,我有一個書本視圖,並使用UIViewAnimationTransitionFlipFromRight爲其製作動畫。動畫中的uiview透視圖iOS

我的代碼,

[UIView beginAnimations:@"View Flip" context:nil]; 
[UIView setAnimationDuration:3.25]; 
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut]; 
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:self.navigationController.view cache:YES]; 


[self.navigationController pushViewController:setingController animated:NO]; 
[UIView commitAnimations]; 

,但我需要一個3D動畫。

我需要透視圖顯示的UIView一樣顯示在下面的圖像,

enter image description here

請幫我正確的代碼,這樣做動畫。

在此先感謝。

回答