You can screen mirror content from your iPhone to your Samsung TV using AirPlay or a wired connection.
On an iPhone or iPad, you can turn off AirPlay from the app you're streaming by tapping the AirPlay icon and selecting "Turn ...