Search code examples
iosaudioairplayaudioqueue

Audio Route Button - AirPlay


I am currently playing audio through AudioQueues. I would like to allow users to connect to Airplay devices.

If I create an MPVolumeView and use the 'showsRouteButton' to display the route button I can successfully connect.

Is there a way to change the Audio Route to Airplay without using the MPVolumeView? Or a simpler Apple view that is just the route button?


Solution

  • I don't think there is any other way to show the airplay route button (at least in current SDK iOS 5.1).. If you want to show AirPlay options you have to use MPVolumeView..