iPhone randomly loses internet connection even though still connected to the wifi network.
The iPhone works as usual, but every once in a while and randomly, loses the internet connection, even though it is still connected to the network (other devices are connected and working correctly, so I don't think it's an ISP problem). Refreshing the connection by turning airplane mode on and off seems to fix the problem, but it happens again after a few minutes (or seconds), and it doesn't fix until I refresh the connection again. This started happening to me yesterday and I would like to know if it is a general software problem due to some bug in recent updates or if on the contrary it is a hardware problem on my iPhone. Thanks.
iPhone X, iOS 16