Reputation: 11725
I'm looking at the MPMusicPlayerController class, which lets you create an iPodMusicPlayer
with a playbackState that is readonly. I'm wondering if there's a way for me to modify the playbackState elsewhere to change the state from MPMusicPlaybackStatePaused
to MPMusicPlaybackStatePlaying
.
The goal if this is to play iTunes music which is paused by the TriggerIO media player — currently it supports playing audio in your app by pausing background audio, but after my audio plays, I want to continue playing the background audio.
Thanks!
Upvotes: 1
Views: 412
Reputation: 1095
I'm turning my comment into an answer because if found a bit more proof.
My assumption is that you're looking for something like background audio, or an audio overlay. Which, according to, How to play background audio in iOS with Trigger.io?, which was answered by a co-founder of trigger.io, it is not officially supported yet, but on their roadmap.
Upvotes: 1