Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS screen mirroring shows overscan borders on selected apps

Problem: iPhone screen mirroring & a dedicated external view of my app show an inch of a black border on all sides.

But: Some views display perfect without black borders on the full-screen, e.g., the Apple TV menu and the photo app.

Tried already - with no effect:

  • Disabled overscan on 1080p HD TV ("Disable 16:9 overscan") ( iPad Mirroring using 2 screens, does it support 1080 resolution? )
  • set UIScreenOverscanCompensation - has no effect ( IOS - External (hdmi) output fills only half the screen except when coding view manually )

Setup: iPhone 4S (5.0.1), Apple TV 2nd generation (4.4.4)

Any suggestions what I could try additionally?

like image 322
Michael Schmidt Avatar asked Feb 27 '12 13:02

Michael Schmidt


People also ask

How do I get full screen when mirroring on iPhone?

Make Screen Mirroring Full Screen on Apple TV Go to the Settings on your Apple TV and click the AirPlay option. Then click the AirPlay Display Underscan option. Enabling this setting will automatically set your screen mirror at full screen.

Why does screen mirroring not work fullscreen?

Make sure that your TV and source device has the same aspect ratio. If screen mirroring isn't in full screen on Apple TV, the most likely problem is the screen ratio. While mirroring content from your iOS device, the content will be mirrored using the device's aspect ratio.


2 Answers

Ran into the same issue and it took a while to find the 'solution'. Turns out you can set the overscanCompensation to '3' and it will remove the borders.

I think Apple just left out the documentation & enum for UIScreenOverscanCompensationNone, but that down in the code they check for it.

like image 191
MobileVet Avatar answered Sep 28 '22 05:09

MobileVet


If you also have black borders during AirPlay Mirroring the answer Of MobileVet won't solve that. Try changing the following setting on your Apple TV: Settings > Audio & Video > Adjust For AirPlay Overscan. Set it to Off (default On).

And btw: doesn't 3 just mean UIScreenOverscanCompensationInsetBounds | UIScreenOverscanCompensationApplicationFrame (1 + 2) ?

like image 23
Kjellie Avatar answered Sep 28 '22 05:09

Kjellie