forem / DEV-ios

DEV Community iOS App
GNU General Public License v3.0
357 stars 97 forks source link

Removes locked screen controls when audio player is terminated #220

Closed fdocr closed 4 years ago

fdocr commented 4 years ago

What type of PR is this? (check all applicable)

Description

When the audio player is terminated in the app the locked screen controls from MPRemoteCommandCenter were not removed. This means the audio player was terminated but if a user were to click on "play" using these controls the audio would start audio playback, without the audio player controls available within the app.

Luckily one line fixes this when terminating the Podcast player.

Added to documentation?