You can use recovery mode to restore your iPhone or iPad if you've forgotten your passcode. To access the recovery mode, you need a computer and a cable to connect your iPhone to the computer. If you ...
• Factory resetting erases all data, apps, and settings from your iPhone, returning it to original condition • Always back up your device before performing a factory reset to avoid permanent data loss ...