Then follow this article to restore your friend's iPhone back to factory settings: Restore your iPhone, iPad, or iPod to factory settings Don't restore from a backup yet, set up as a new iPhone and see if you're still having issues with the touchscreen. This step will help determine if it's a hardware issue or software issue.