如何访问 iOS 上的视频输出功能?
连接视频连接器后,Netflix 等应用程序能够从扩展坞连接器播放视频。应用程序是否能够将任意数据输出到视频上?或者视频播放器是 iOS 上唯一可以执行此操作的组件?如果前者可能,我的应用程序如何访问视频输出?
Applications such as Netflix have the ability to play video out of the dock connector when the video connector is hooked up. Do applications have the ability to put arbitrary data on video out? Or is the video player the only component on iOS that can do so? If the former is possible, how can my app access video output?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要绘制到视频输出,请在
[[UIScreen Screens] objectAtIndex:1];
返回的屏幕上放置一个窗口。在已创建的窗口上调用window.screen = theScreen
将其分配给屏幕“theScreen”。To draw to video out, place a window on the screen returned by
[[UIScreen screens] objectAtIndex:1];
. Callwindow.screen = theScreen
on a window you have already created to assign it to the screen "theScreen".