To play YouTube in the background on an iPhone, open the Safari browser and navigate to the YouTube site. Start your video, then tap the 'AA' icon to request the desktop site. Play the video, and then press the Home button to minimize Safari. Swipe down from the top right to access the Control Center, where you can play your video while using other apps.