When you first plug your iPhone or iPad into a computer, you’ll be prompted to “trust” the computer on your device. This gives iTunes and other management tools on the computer the ability to access your photos, files, settings, contacts, and other data. Your iPhone or iPad remembers this decision and will automatically trust that computer in the future.
Source: How-To Geek