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.h
andTMAirPlayAdditions.m
files to your project. - Add
AVFoundation
andAudioToolbox
frameworks to your project. - Import
TMAirPlayAdditions.h
- Init the class using
[TMAirPlayAdditions initSharedInstance];
- Add observers for
kAirPlayDeviceConnectedNotification
andkAirPlayDeviceDisconnectedNotification
notifications