is it possible to mirror a uiview?

Hello. Sorry for my poor english.


The current automatic Airplay mirroring is using the proportions of iOS device resolution, I don´t want to the black bars when mirroring a Ipad to 1080p screen (16x9). its possible to make the UIView on iPad with 16x9 proportions and mirroring to Airplay? I wouldn´t want to programm each element to mimic airplay (uiscrollviews, etc)


Thanks

Replies

The development guide has instructions for if you want to create a different view for the external display that AirPlay will be presented on:

https://developer.apple.com/library/content/documentation/WindowsViews/Conceptual/WindowAndScreenGuide/UsingExternalDisplay/UsingExternalDisplay.html