1

我的项目中有两个viewController,一个是主控制器。另一个是它的子视图控制器,用于插入到主控制器中。我将控制器平移动画设置为UIViewAnimationTransitionCurlUp,子视图向左或向右“自动旋转”,并且 nib 文件的方向都是水平的。

在我的 subviewController 中,动画UIViewAnimationTransitionCurlUp是水平的,但在 mainviewController 中,方向是垂直的。如何控制方向?

4

1 回答 1

0

Apple doesn't provide anything other than curlup, and it is locked to portrait orientation for space reasons. If you really need it, try building it with CoreAnimation or OpenGL. Good luck!

于 2010-10-27T06:40:25.897 回答