开发者

Movie fades in through black

开发者 https://www.devze.com 2023-03-11 19:11 出处:网络
I\'m trying to fade in a movie. Problem is it开发者_运维问答 doesn\'t cross-dissolve in, but fades through black for some reason. I have the first frame of the movie as an UIIMageView on screen, and w

I'm trying to fade in a movie. Problem is it开发者_运维问答 doesn't cross-dissolve in, but fades through black for some reason. I have the first frame of the movie as an UIIMageView on screen, and when the movie starts playing the screen darkens for a while. I would expect the transition to be invisible.

An example project can be downloaded here:

http://www.sendspace.com/file/2u9e5o

Thanx in advance Nir.


Force your instance of MPMoviePlayerController to use a transparent view.

moviePlayer.view.backgroundColor = [UIColor clearColor];
0

精彩评论

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