According to the document, I can add or change some elements on Command Center on iOS as well as the NowPlayingView on WatchOS.
But I can not find the UI element responding to the "changing rate" action on WatchOS. My code is following:
I suppose there will be a rate-changing button replacing the right-bottom corner menu button on WatchOS's NowPlayingView as Podcast app.
Thanks for your patience and help.
But I can not find the UI element responding to the "changing rate" action on WatchOS. My code is following:
Code Block swift let commandCenter = MPRemoteCommandCenter.shared() commandCenter.changePlaybackRateCommand.supportedPlaybackRates = [1.0, 2.0] commandCenter.changePlaybackRateCommand.addTarget{ event in changeRate() return .success }
I suppose there will be a rate-changing button replacing the right-bottom corner menu button on WatchOS's NowPlayingView as Podcast app.
Thanks for your patience and help.