If you need to reset your iPhone to factory settings to resolve an issue, you can back it up to iCloud first and then restore it to keep your data.
iOS 26 adds a new Recovery Assistant feature to all compatible iPhones, and it can help return the device to a working state, with no Mac or PC required. Recovery Assistant was introduced in the first ...