Share data between two UIWindows

110 views Asked by At

My objective is to have an AirPlay option for my iOS app that shows the same content as the iPad (like a mirror) except slightly modified to the 16x9 aspect ratio of the TV.

I have all the initial setup complete, up to the point where I have the second window and the opportunity to set its root view controller.

My current strategy is to create two separate view controllers, one for iPad, one for TV, then create some channel for them to communicate through.

Is this the most efficient way to solve this problem? Is there a better way, perhaps that involves me using the same view controller but with different UIViews?

0

There are 0 answers