Swiss Developer Immigrated to Germany

Posts tagged ‘AVFoundation’

Playing Multiple Overlapping Audio Tracks in Background

I wanted to play music in the background on my iPhone. To make the transition between two songs smooth and nice they should overlap and fade. ┬áTo achieve this I used the AVPlayer class: created an instance of it and started playing it. After some time it starts fading out, creates a new AVPlayer instance […]