what to do if passcode is forgotten on iphone
1. Turn off the device. Hold down the Power button then swipe it until it turns off. 1  Use this method if you have not synced your device to your computer before, or your computer is asking for your device's passcode. 2  Unfortunately, resetting your passcode using this method will wipe all of the data off of your iPhone.. Turn off the device. Hold down the Power button then swipe it until it turns off. 1  Use this method if you have not synced your device to your computer before, or your computer is asking for your device's passcode. 2  Unfortunately, resetting your passcode using this method will wipe all of the data off of your iPhone.