模拟器中的airplay - objective-c [英] airplay in simulator - objective-c

查看:310
本文介绍了模拟器中的airplay - objective-c的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在MPMoviePlayerController中将allowsAirPlay设置为YES,但不显示AirPlay按钮。 iOS模拟器是否支持AirPlay?
请举例说明如何通过Apple TV流式传输视频。

I've set "allowsAirPlay" to "YES" in my MPMoviePlayerController, but AirPlay button doesn't appear. Does iOS simulator support AirPlay? And give please some example how to stream video through Apple TV for example.

推荐答案

不,当时的写作(iOS 7刚刚发布)模拟器没有airplay也没有任何模拟或测试方法。拥有具有airplay功能的设备(苹果电视)或程序( http://www.airsquirrels.com/reflector/ )在同一个wifi网络中,镜像按钮出现在我的iPhone 4S上但不在任何模拟器上。

Nope, at the time of writing (iOS 7 just released) simulators don't have airplay nor any way to simulate or test it. Having an airplay capable device (apple TV) or program (http://www.airsquirrels.com/reflector/) in the same wifi network makes the mirroring button appear on my iPhone 4S but not on any simulator.

编辑:有一种方法可以测试它,模拟电视输出。

There is a way of testing it, simulate TV output.

这篇关于模拟器中的airplay - objective-c的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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