Open Control Center. Tap Screen Mirroring, then choose your Apple TV or an AirPlay 2-enabled smart TV as the playback destination. If an AirPlay passcode appears on the TV screen, enter the passcode on your iPhone.