0
A
回答
3
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.2];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:yourView cache:YES];
[yourView changeSomethingToThePositionOrWhatever];
[UIView commitAnimations];
2
[UIView beginAnimations:@"" context:nil];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:self.view cache:YES];
[UIView setAnimationDuration:1.0];
// Make your changes
// show and hide views
[UIView commitAnimations];
相關問題
- 1. 帶動畫切換視圖UIViewAnimationTransitionCurlUp
- 2. 如何動畫視圖?
- 3. Android動畫垂直圖像視圖
- 4. 如何實現像UIActivityIndicatorView一樣的自動動畫視圖?
- 5. 如何在視圖背景中動畫圖像
- 6. Android Studio如何動畫移動視圖?
- 7. 圖像動畫像
- 8. 動畫視圖
- 9. 動畫圖像
- 10. 動畫圖像
- 11. 在圖像視圖中播放動畫GIF圖像文件
- 12. 如何像文字框一樣動畫文字視圖?
- 13. 如何製作視圖動畫像皺紙
- 14. 如何在視頻中爲圖像添加動畫
- 15. 如何使UIViewAnimationTransitionCurlUp反向?
- 16. 如何動畫視圖的屬性
- 17. LayoutAnimation:如何不動畫輸入視圖?
- 18. 如何在滾動時重畫視圖?
- 19. 如何動畫我的視圖?
- 20. 如何動畫列表視圖?
- 21. 如何動畫處理隱藏視圖?
- 22. 如何在TitleBar中動畫圖像?
- 23. 如何做圖像加載動畫?
- 24. 如何設置動畫使用圖像
- 25. 如何創建動畫圖像?
- 26. 如何動畫的一部分圖像?
- 27. 如何停止圖像動畫?
- 28. 如何做Android圖像動畫
- 29. 如何在Swift中動畫圖像?
- 30. 如何動畫和旋轉圖像?