iOS屏幕镜像显示所选应用程序的过扫描边框 [英] iOS screen mirroring shows overscan borders on selected apps

查看:147
本文介绍了iOS屏幕镜像显示所选应用程序的过扫描边框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题:iPhone屏幕镜像&我的应用程序的专用外部视图在所有侧面都显示一英寸的黑色边框.

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

但是:某些视图在全屏上显示完美,没有黑色边框,例如Apple TV菜单和照片应用程序.

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

已经尝试-无效:

  • 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 )

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

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

有什么建议可以尝试吗?

Any suggestions what I could try additionally?

推荐答案

遇到同样的问题,花了一段时间才找到解决方案".原来,您可以将overscanCompensation设置为'3',它将删除边框.

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.

我认为Apple只是忽略了文档& UIScreenOverscanCompensationNone的枚举,但在代码中对其进行了检查.

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

这篇关于iOS屏幕镜像显示所选应用程序的过扫描边框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆