
How to solve the problem that the progress status of the audio playback control notification bar does not update
Read the original article:How to solve the problem that the progress status of the audio playback control notification bar does not update How to solve the problem that the progress status of the audio playback control notification bar does not update Problem Description When playing audio, the following situations occur when creating and setting the AVSessionManager session: The progress in the notification bar will not be updated after setting the playback status; After pulling down the notification bar, the update returns to normal; After locking the screen, open it to resume normal updates. Background Knowledge AVSession Kit : System-provided audio and video control services that centrally manage all audio and video activities within the system. Background Tasks Kit : Background task management. After an app transitions to the background, resources are strictly controlled. Apps should select appropriate background tasks to ensure continued operation. Media Session Provider : Audio
Continue reading on Dev.to
Opens in a new tab

