Simulator cast - objective-c

I set "allowAirPlay" to "YES" in my MPMoviePlayerController, but the AirPlay button does not appear. Does iOS support AirPlay? And please give an example of how to stream video via Apple TV, for example.

+5
source share
2 answers

No, at the time of writing (just released iOS 7), simulators have no translation and no way to simulate or test. Having a streaming device (Apple TV) or program ( http://www.airsquirrels.com/reflector/ ) on the same Wi-Fi network makes the mirror button on my iPhone 4S but not on any simulator.

Edit: there is a way to test it, simulate a TV output. enter image description here

+6
source

If you want to test your application in a real environment without using Apple TV or the dynamics of turning on the broadcast, you can test it on any Mac or PC. You just need to download the "Air Joy" application from the AppStore.

1) Go to the App Store

2) Download the AirJoy app

OR

Airjoy

, Mac ( Airjoy) .

Airplay .

+2

All Articles