How to get my airplay code?
How to get my Airplay code to cast my phone to my tv?
iPhone 13, iOS 17
How to get my Airplay code to cast my phone to my tv?
iPhone 13, iOS 17
Please check if your TV is Airplay enabled.
See the pic below (Airplay on Samsung 4 Series)


AirPlay 2–compatible TVs and other Products --> See all AirPlay 2–enabled smart TVs
If you find your device in the link provided above then --> Use AirPlay to stream video or mirror the screen of your ...
Else Plug a Lightning Digital AV Adapter or Lightning to VGA Adapter into the charging port on the bottom of iPhone. Connect an HDMI or VGA cable to the adapter. Connect the other end of the HDMI or VGA cable to the monitor, TV, or projector. If necessary, switch to the correct video source on the monitor, TV, or projector.
Connect iPhone to a display with a cable - Apple Support (IN)
Airplay Code...
On the TV or the display that you are streaming to.
Please see the pics below which may help you understand it. My Samsung TV has other options too.
How to get my airplay code?