BWSnippet

iOS 11 random airplay icon? FIX

iOS 11 random airplay icon? FIX

In iOS 11 I noticed random airplay and audio icons appearing.

To solve this issue you just have update your MPVolumeView code.

        let volumeView = MPVolumeView(frame: CGRect.zero)
        volumeView.showsVolumeSlider = false
        volumeView.showsRouteButton = false

Tags

iOS 11 random airplay icon? FIX