Posts

Post not yet marked as solved
2 Replies
All that you wrote can be done of course ... but you propably need more than AVAudioPlayer for this. Like OOPer said, AVAudioPlayer doesn't provide you with a UI... just functionality (https://developer.apple.com/documentation/avfoundation/avaudioplayer).
Post marked as solved
1 Replies
It seems that I just haven't managed interruptions ... at all 🙂I don't know how things worked as they did but as soon as I handled interruptions properly there was no more crash. Here's a link to the document that helped me: https://developer.apple.com/documentation/avfoundation/avaudiosession/responding_to_audio_session_interruptions