Standard screen unlocking (passcodes/Face ID) will erase all data on the device, returning it to a factory-reset state.

Works with models ranging from older devices to the iPhone 17 series .