Search code examples
objective-cxcodeipadios9splitview

Is it possible to programmatically force an ios ap in split view to go full screen in ios9?


I am developing this app for ipad and ios9 and at some point the user will click on a button to watch a video. But I wouldn't want the user to just see it in the split view size he's currently on (like 1/3rd or 14th) instead I would like the app to close the other open app and for it to take over the entire screen.

Does anyone know if that's possible? Thanks.


Solution

  • By-default, the video always get played in full-screen mode. When video playing is finished, the player gets dismissed and you will see your screen (from where you played the video). In your case, in split view controller.

    Do let me know if you need further details.