iPhone wifi auto disconnect problem

Does this happen to you too? Your wifi is automatically switched to mobile data, which annoys you a lot.
Let me tell you the solution.
To solve this problem, go to your iPhone settings.

Then go to mobile data and then you have to scroll down to the bottom where you will find wifi assist, You have to turn off wifi assist.

iPhone wifi auto disconnect problem

WHEN Your wifi will be weak it will automatically switch on mobile data, If you turn off WiFi Assist, it will not switch to mobile data automatically.

This is what happens when WiFi connectivity is poor for a couple of seconds.

So if you turn it off then you will not have an iPhone wifi auto disconnect problem.