Playing a video track when entering a background?

I am using mpmovieplayer to play video on ios 4 and I want the sound to play when my application enters the background, but it does not work. I understand that because the video player uses a GPU to render video on the screen, and this is prohibited by Apple when the application enters the background.

So, is there a way to do this? Some applications have this feature, and they seem to just use mpmovieplayer, does it work by disconnecting the mpmovieplayer video layer?

Thanks for your reply!

+3
source share
1 answer

. , , .

0

Source: https://habr.com/ru/post/1771247/


All Articles