Dual audio device

I am working on a design that requires connecting an ios device to two audio output devices specifically headphones and a speaker. I want the audio driver to switch output device without user action. Is this manageable via ios SDK?

Post not yet marked as solved Up vote post of AnLiu Down vote post of AnLiu
374 views