Question: when wifi is not working on iphone?
Answer: Reset your Network Settings. Tap Settings > General > Reset > Reset Network Settings. This also resets Wi-Fi networks and passwords, cellular settings and VPN and APN settings that you've used before.