Question: how to connect iphone to tv to play music?
Answer: Open Control Center: On iPhone X or later or iPad with iOS 12 or later: Swipe down from the upper-right corner of the screen. ... 
Press and hold the audio card in the upper-right corner, then tap Airplay .
Tap each speaker or TV that you want to play the current audio to.