开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜