hiding movieControl in iphone OS 3.2 or later
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;
精彩评论