Question: how to connect iphone to pc through wifi?
Answer: Launch iTunes on your PC and click the "Help" menu. ... 
Connect your iPhone to your PC using its USB cable. ... 
Select your iPhone from the iTunes "Devices" list and click the "Summary" tab in the main window.
Check the "Sync with this iPhone over Wi-Fi" box in the "Options" section, and then click the "Apply" button.