By default, iPhone syncs whenever you connect it to iTunes. You can prevent iPhone from syncing when you connect iPhone to a computer other than the one you usually sync with.

Turn off automatic syncing for iPhone: 

  1. Connect iPhone to your computer.

  2. In iTunes, select iPhone in the Devices list, then click Summary at the top of the screen.

  3. Deselect “Open iTunes when this iPhone is connected.”

    When automatic syncing is turned off, you can still sync by clicking the Sync button.

Prevent automatic syncing for all iPods, iPhones, and iPads: 

  1. In iTunes, choose iTunes > Preferences (on a Mac) or Edit > Preferences (on a PC).

  2. Click Devices, then select “Prevent iPods, iPhones, and iPads from syncing automatically.”

    If this checkbox is selected, iPhone won’t sync, even if “Open iTunes when this iPhone is connected” is selected in the Summary pane.