开发者

UIViewAnimationTransitionCurlUp \ UIViewAnimationTransitionCurlDown doesn't support both variants of the portrait orientation?

开发者 https://www.devze.com 2023-01-09 22:25 出处:网络
I\'m using the UIViewAnimationTransitionCurlUp \\ UIViewA开发者_如何学JAVAnimationTransitionCurlDown transitions to flip between view controllers.

I'm using the UIViewAnimationTransitionCurlUp \ UIViewA开发者_如何学JAVAnimationTransitionCurlDown 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?


Put them in a rotated coordinate system. See the transform property of UIView.

0

精彩评论

暂无评论...
验证码 换一张
取 消