MPMoviePlayerController fullscreen mode issue

后端 未结 2 787
暗喜
暗喜 2021-02-11 04:12

I have a problem with my code that plays a video file. Whenever I play the file in fullscreen mode the playback doesn\'t occupy all of my screen. Here is the relevant code:

2条回答
  •  忘掉有多难
    2021-02-11 05:05

    Change the controlstyle property of your player from the method below: -(void)applyUserSettingsToMoviePlayer

    player.controlStyle = MPMovieControlStyleFullScreen causes the above problem,change it to MPMovieControlStyleEmbedded and see if that works.

提交回复
热议问题