The app demonstrates how to fade volume using AVPlayer.
- iOS 12+
- Swift 5.0
- Copy AVPlayerExtensions.swift to your project
- Setup your AVPlayer and call the fadeVolume function
For more detailed explanation, check article: https://medium.com/@evandro.hoffmann/fading-volume-with-avplayer-in-swift-74cbcc6172c6
Happy coding! 😀