UIViewAnimationTransitionCurlUp \ UIViewAnimationTransitionCurlDown 不支持纵向方向的两种变体?
我使用 UIViewAnimationTransitionCurlUp \ UIViewAnimationTransitionCurlDown 过渡在视图控制器之间翻转。
问题是,当我尝试支持颠倒的纵向方向时,这些可爱的卷曲过渡仍然认为它们处于正常的纵向方向,因此卷曲从上到下,卷曲从下到上。
看起来这些转换并不关心设备方向,也不关心界面方向,所以 - 有没有办法强制它们翻转?
I'm using the UIViewAnimationTransitionCurlUp \ UIViewAnimationTransitionCurlDown transitions to flip between view controllers.
Problem is when I try to support the upsidedown portrait orientation , these lovely curl transitions still think they are in normal portrait orientation, thus the curlup goes from top to bottom and the curldown goes from bottom to top.
It seems like these transitions doesnt care about the device orientation and neither the interface orientation, so - is there a way to force them to flip?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将它们放在旋转坐标系中。请参阅 UIView 的
transform
属性。Put them in a rotated coordinate system. See the
transform
property of UIView.