Question: how to connect wifi from iphone to smart tv?
Answer: Connect your iOS device and Apple TV to the same Wi-Fi network.
Depending on the version you have, swipe up or down to show and open the Control Center. ... 
Tap Screen mirroring and select your Apple TV or Airplay-compatible TV from the list.