开发者

hiding movieControl in iphone OS 3.2 or later

开发者 https://www.devze.com 2023-02-01 02:58 出处:网络
I saw this example on appsmuck.com for seamless video looping, it works fine on iphoneOS 3.0 but doesn\'t wo开发者_运维技巧rks on 3.2 or above :(

I saw this example on appsmuck.com for seamless video looping, it works fine on iphoneOS 3.0 but doesn't wo开发者_运维技巧rks on 3.2 or above :(

It says movieControlMode is deprecated

http://appsamuck.com/day26.html

can someone tell me how to hide the controls in iphoneOS 3.2 or above.. ?


ok try this one:

#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 32000
    moviePlayer.controlStyle = MPMovieControlStyleNone;
#else
    moviePlayer.movieControlMode = MPMovieControlModeHidden; 
#endif


you can replace that line with theMovie.controlStyle = MPMovieControlStyleDefault;

0

精彩评论

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