iOS media playback controls notification
问题 I am new to iOS, and developing a cross platform app with Flutter. I am trying to play audio from network URL, which i found it can be done using the AVPlayer . The audio plays when the app is in foreground and in background, but i can display the media playback controls like this: . i used the let mediaController = MPMusicPlayerController.applicationMusicPlayer and then calling self.mediaController.beginGeneratingPlaybackNotifications() , also providing the playing info