Manage iOS automatic connection to public Wi-Fi

Rather than manually managing when you are connected to untrusted WiFi access points, you should consider setting up a VPN connection that is automatically enabled when you connect to WiFi. That will protect your data - even when on a public WiFi network. At that point, you don't need to worry as much about whether WiFi is on or off.