AVPlayer

In this tutorial, you will learn how to add a playback slider to AVPlayer in Swift to control audio playback. By the end of this tutorial, you will have a working Swift code example that you can use in your mobile application. Step 1: Create AVPlayer and AVPlayerItem First, you need to import the necessary…

Read More Adding Playback Slider to AVPlayer In Swift

In this tutorial, you will learn how to play the music mp3 file from a remote URL in Swift. To play music in your mobile app, you will use two very important classes: AVPlayer and AVPlayerItem. But before I show you how to use them, I will briefly describe each one to you. AVPlayer is…

Read More AVPlayer. Play Music MP3 File From a Remote URL In Swift