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