如何在 iOS 上访问视频输出功能? [英] How do I access video output capabilities on iOS?

查看:29
本文介绍了如何在 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?

推荐答案

要绘制到视频输出,请在 [[UIScreen screen] objectAtIndex:1]; 返回的屏幕上放置一个窗口.在您已经创建的窗口上调用 window.screen = theScreen 以将其分配给屏幕theScreen".

To draw to video out, place a window on the screen returned by [[UIScreen screens] objectAtIndex:1];. Call window.screen = theScreen on a window you have already created to assign it to the screen "theScreen".

这篇关于如何在 iOS 上访问视频输出功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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