Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media Player Doesn't Wipe after Close Tabs and Clear Data #2494

Open
dweekly opened this issue Feb 23, 2024 · 0 comments
Open

Media Player Doesn't Wipe after Close Tabs and Clear Data #2494

dweekly opened this issue Feb 23, 2024 · 0 comments

Comments

@dweekly
Copy link

dweekly commented Feb 23, 2024

  1. Play media
  2. Hit Close Tabs and Clear Data
  3. Observe Now Playing data still visible in the Control Center

Desired behavior should be to show "Not Playing" in Control Center instead of exposing media metadata from a session that's already been cleared.

This should be achievable by simply assigning nil to now playing, somewhat like the following:

let commandCenter = MPRemoteCommandCenter.shared()
commandCenter.nowPlayingInfo = nil 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants