Search code examples
iosxcode4uiviewcontroller

Making a view Controller stay active (in Background)


I've got a view Controller which manages my TV Playout (HDMI Apple AV Adapter). Everything works fine. I call my view Controller using a popover on the iPad.

When I open the popover, the external screen is recognized and I can work with it. But when I close the popover View (which means I send my TV Playout View Controller to the background) the TV screen (logically) turns black.

Is there a possibility to tell my view Controller to hold the picture on the TV screen by quit?

Like "pseudocode"

[TVOutViewController stayActiveInBackground]; //pseudocode

Thanks in advance!


Solution

  • OK guys, By chance, I found a solution (or at least a workaround). Be sure to manage the problem using a UISplitViewController with your TVOutViewController as the masterViewController and the ContentViewController as the detailViewController. Apple already did the work. Thanks anyway! :)