Right now, when the user presses the AVRoutePickerView
, they get a choice of iPhone
and other AirPlay targets. And picking iPhone
uses the speakerphone to play back audio:
I'd like there to be an option to switch between iPhone
and Speaker
, where iPhone
routes the audio to the internal handset speaker, and Speaker
routes audio to the speakerphone. That's how other apps on the phone seem to work (Phone, Google Voice, and some others):