Question: how to connect iphone to samsung tv using wifi?
Answer: Launch the Mirror for Samsung TV app. It will start looking for your Samsung TV(s) on your local network. ... 
Click on 'Start Mirroring' to start mirroring on the TV that is currently selected.
Select 'Mirror Samsung TV' and press 'Start Broadcast' to start mirroring on your selected Samsung TV.