开发者

Hall-of-mirrors effect when using UIView animations on the TV Out screen

I'm doing an animation between two UIWebView's on the TV Out screen, and i get this effect both in the simulator and with a real device:

Hall-of-mirrors effect when using UIView animations on the TV Out screen

Basically, in my 2nd UIScreen, i've got a UIWindow, and inside that there is a UIView with a black background, and inside the uiview's i'm animating between two UIWebView's using the following code:

[UIView transitionFromView:oldWebView toView:newWebView
    duration:1 options:UIViewAnimationOptionTransitionFlipFromRight
    completion:^(BOOL finished) {}];

And i don't understand why, mid-animation, i get the hall-of-mirrors effect instead of seeing the black background of my UIView sup开发者_运维技巧erview. Can someone please help?


In the end, i determined this was a ios <=4.3 bug, and simply disabled animations if we're using an os older than ios 5.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜