Xcode Swift run app in background forever : I am testing my app and this will never be submitted to the iOS store. What is the best way to get the app to run forever in the background? I have set the Required Background Modes item 0 to voip but it still closes after sometime.

Any help is greatly appreciated.

