Hey there, it's super frustrating when your Wi-Fi button on your iPhone is all greyed out, right? Feels like you're cut off from the world! Here's the deal, there are a few things that could be causing this.
First off, it's always worth a shot to restart your phone. Sometimes a simple reboot can clear up minor software glitches.
If that doesn't do the trick, try toggling Airplane Mode on and off. This can sometimes reset the Wi-Fi connection.
If you're still having trouble, you might want to check for any software updates. Outdated software can sometimes cause compatibility issues.
As a last resort, you could try resetting your network settings. This will erase all your saved Wi-Fi passwords and Bluetooth connections, so make sure you have those handy!

If you have problem persist after trying these solution, you can follow for more details instruction below.
https://thegeekpage.com/wi-fi-greyed-out/