Wifi turns off when iPhone is locked.
My iPhone turns off Wifi when it is locked. Also, it stays connected to Wifi only if mobile data has also been left on. Most of the time, it switches to mobile data when locked, and connects to Wifi when unlocked again. I don't understand why my phone does any of these things or how I could fix it.
Any help would be greatly appreciated. Thank you in advance :)
iPhone 13 Pro Max, iOS 17