If you’ve forgotten your iPhone’s passcode, you can reset it using iTunes on a computer.
To reset your iPhone’s passcode, you’ll need to erase your device and set it up again. This will erase all of your data and settings, including the passcode.
Make sure you have a recent backup of your data before you erase your device.
If you don’t have a backup, or if you want to erase your device without setting up a new passcode, you can use recovery mode to erase your device.
Connect your iPhone to the computer you usually use to sync it.
Open …