TMediaPlayer background audio controls on iOS (FMX)


In Rad Studio we have the TMedialPlayer control that can play audio. This thread shows to keep the audio playing after the user locks the screen (Project->Options->Version Info-> UIBackgroundModes set to audio).

However, we have no ability to invoke the iOS audio controls (pause, play) on lock screen. Apple will reject any app that plays audio in the background without displaying the audio controls on lock screen and in control center (Apple documentation on controlling background audio).

Anyone have any good ideas on how this can be achieved (using C++ FMX)?

Can the functions mentioned on that Apple documentation page be called from FMX app?

Is there a third party medial control with this capability (to show the apple audio controls)?

Comments are closed.