Question: how to connect my iphone to the tv wireless?
Answer: Ensure that both the Apple TV and iOS device are on the same Wi-Fi network.
If you have an iPhone X or newer or an iPad running iOS 12 or later, swipe down from the upper-right corner to reveal the Control Center. ... 
Tap the “Screen Mirroring” button.
Select your Apple TV from the list.