Question: how can you connect your iphone to a tv?
Answer: 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 your adapter.
Connect the other end of your HDMI or VGA cable to your secondary display (TV, monitor, or projector).