I am working on a casting app that uses google chromecast and cast framework to cast anything on web on the TV, not only videos from youtube, and I managed to make the app fully functional, but one more thing I need to implement, is make the app work with remote controls on the lock screen and control center, and for that to happen, I need the app always running in background and using network to be able to communicate with the cast device. I have noticed youtube does the same thing, but how can I do it? I have tried checking VOIP under background modes in xcodes, but that didn't make it. Here's the property I need to set from google documentation that says the app needs to be always running in background and using network: https://i.stack.imgur.com/siDCs.png