Question: how to connect my iphone to a smart tv wirelessly?
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.