关于iOS5中的AirPlay功能
众所周知,iOS5具有AirPlay功能,可以让iPad2将屏幕投射到电视上。有一款游戏(RealRacing 2 HD)启用此功能可以使 3D 图形在电视上输出,而 2D 图形仍然在 iPad 上显示。这游戏怎么能做到这一点呢?游戏的演示是 这里
我怎样才能像《真实赛车 2 HD》那样推出我的游戏?
As is known to all, the iOS5 has AirPlay feature to let the iPad2 out put the screen in the TV. There is a game(RealRacing 2 HD) which enable this feature to make the 3D graphic to output on the tv and 2D graphic still display on iPad. How can this game do that? The game' demonstrate is here
How can I out put my game like Real Racing 2 HD?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,我会回答我自己的问题。
我所做的就是按照 this 上的示例进行操作
当airplay功能打开时,UIScreen会自动生成一个外部屏幕,我们可以管理EAGLView,分离一些添加到外部屏幕和其他添加到主屏幕。
希望我的经验可以帮助一些人。
Ok, I will answer my own question.
All I have done is follow the sample on this
When airplay function is ON, the UIScreen will auto generate a external screen, we can manage the EAGLView, separating some to add to the external screen and others add to main screen.
Hope my exp can help some one.