Getting my iPhone 6 to trust a computer after selecting Don't Trust
Go to Settings → General → Reset → Reset Location &amp; Privacy.

This will reset your trusted computers (along with all your other privacy settings), and next time you connect the device a computer, it will prompt you to trust it. The privacy settings this will reset are all the settings under Settings → Privacy.