Question: how to factory reset iphone xr?
Answer: From the Home screen, navigate: Settings. > General > Reset. Tap Erase All Content and Settings. From the 'iCloud Backup' pop-up, tap one of the following: ...  Tap Erase iPhone. From the 'Are you sure you want to continue? ...  To continue, enter the Apple ID password then tap Erase.