问题
If I create my own custom Application for iOS (XCode/Objective-C), can I make it support AirPlay and beam scren content of my choice to an Apple TV?
What APIs/Function Calls am I looking for?
回答1:
The idea behind the AirPlay support is to play the video content from your app.
If you're a registered iOS Developer, you will be able to find the documentation and examples at the iOS 4 beta section after you login. As this is still a beta release for 4.3 version, documentation is under confidential agreement.
It's pretty much easy and straightforward. You should start looking by MPMoviePlayerController
.
来源:https://stackoverflow.com/questions/4913408/can-i-enable-my-app-for-airplay