Question: how to connect iphone to pc via cable?
Answer: Connect your iPhone to your PC via USB.
In the iTunes app, click the Device button near the top left of the iTunes window.
Click on the Summary tab, located below the Settings.
Select the checkbox for Sync with this [device] over Wi-Fi.