Question: how to connect iphone to desktop computer?
Answer: Make sure that you have the latest version of iTunes on your PC. ... 
Connect your iPhone, iPad, or iPod touch to your PC with a USB cable.
If asked, unlock your iOS device using your passcode.
If you see a prompt on your iOS device asking you to Trust This Computer, tap Trust or Allow to continue.