Simple library to get notified if iOS device connected to any AirPlay device
You can add AirPlay device connection support in few easy steps:
- Add the
TMAirPlayAdditions.handTMAirPlayAdditions.mfiles to your project. - Add
AVFoundationandAudioToolboxframeworks to your project. - Import
TMAirPlayAdditions.h - Init the class using
[TMAirPlayAdditions initSharedInstance]; - Add observers for
kAirPlayDeviceConnectedNotificationandkAirPlayDeviceDisconnectedNotificationnotifications