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:
Setup: iPhone 4S (5.0.1), Apple TV 2nd generation (4.4.4)
Any suggestions what I could try additionally?
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.
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.
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.
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) ?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With