This seems simple, but I have failed to find it and search results don't seem to yield much. Is this something you can actually set in Player Settings or does it have to be done via script? If this needs to be done via script what would be a good approach? I have looked at the documentation at https://docs.unity3d.com/ScriptReference/iOSBackgroundMode.None.html and it does not have a description. Should I be looking somewhere else?
I know how to do this in Xcode but the value changes every time I update the project.
I am using Unity 2021.3.18
Thank you
Near the bottom of Other Settings / Configuration there is a toggle field called Enable Custom Background Behaviors, check it then you can choose the modes.