To connect your iPhone to a computer, open iTunes on the computer, and connect the iPhone to the computer via the USB cable that came with the iPhone. On the iTunes window, click the name of your iPhone under Devices to view or sync content.
Alternatively, to connect your iPhone to a computer over a wireless network, open iTunes on the computer, and open the Help menu. Select Check for Updates, and allow the available updates to install. iTunes reloads when the update process ends. Connect the iPhone to the computer via the USB cable that came with the iPhone, and make sure the name of the iPhone appears under Devices on the iTunes window.
Select your iPhone from the Devices list, and then click the Summary tab. Tick the check box next to Sync with this iPhone over Wi-Fi located in the Options section, and then click the Apply button. When the synchronization process ends, click the Eject button next to the name of your iPhone under Devices to disconnect the iPhone from the computer.
When set up for wireless sync, the iPhone remains connected to the computer over the same wireless network as the PC. Tap Settings on your iPhone, select General, choose iTunes Wi-Fi Sync, and then click Sync Now.