5 ms·
Actually this is how the “now playing info center” on iOS works too: https://developer.apple.com/documentation/mediaplayer/mpnowplayinginfocenter https://develo
by tzahola 9y ago
Actually this is how the “now playing info center” on iOS works too: https://developer.apple.com/documentation/mediaplayer/mpnowplayinginfocenter https://developer.apple.com/documentation/mediaplayer/mpnowp...
You’re supposed to set the metadata when your track starts and don’t touch it unless playback have finished or the user pauses it. The system updates the progress bar based on the duration and the playback rate you’ve set in the now playing info.