Post marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliessolved.tooltip
Replied In
TestFlight Users have no Audio
Oh this one was a doozy - hopefully is someone comes looking for an answer you learn from my problem. Apparently, it is possible for the audio NOT to play when silent mode is engaged (on the iPhone with the switch, on iPad through control center). That said, I need to add some code in order for the audio to play WHILE IN SILENT MODE:
//Here is the code you need up until player.play to enable it to play while in silent mode: do {
try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.playback)
} catch {
// report for an error
}
player.play()