ios - How to make a AVPlayerViewController go to fullscreen programmatically? -


i'm trying make avplayerviewcontroller go full screen mode programmatically, coming "embedded" mode, not appear possible published api.

is there workaround i'm missing? i'm interested in obtaining same animation 1 when user presses full screen button on bottom right of controls.

using mpmovieplayercontroller not viable alternative since might have more 1 video playing @ time.

thanks.

avplayerviewcontroller subclass of uiviewcontroller, presentable other view controller subclass. able use presentviewcontroller:animated:completion?

self.avplayercontroller.modalpresentationstyle = uimodalpresentationoverfullscreen; [self presentviewcontroller:self.avplayercontroller animated:yes completion:nil]; 

this shows "done" button in top left-hand corner.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -