It's easy to view your iPhone screen on a Mac, but you'll need third-party software to screen mirror on a Windows PC.
To make you familiar with the screen sharing process, we have created a guide below. Connect your mobile and TV with the same Wi-Fi network. Turn on the screen mirroring/screencast on the TV.