开发者

Does monotouch supports AirPlay?

Is it possible to add AirPlay to stream video with the MPMoviePlayerController? I couldn't find i开发者_如何学运维t in the documentation, and the MonoTouch 3.2.5 release notes doesn't mention anything either.


Yes MonoTouch supports AirPlay, you'll need to install MonoTouch 4 which has support for iOS 4.3 APIs.


To enable Airplay in Objective-C, all you have to do is set the allowsAirPlay property on the MPMoviePlayerController.

myMPMoviePlayerController.allowsAirPlay = YES;

Although this is objective c syntax, I'd have thought you could do the same with mono as well since it's just setting a library property?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜