Question: how to delete everything on iphone?
Answer: Launch the Settings app from the Home screen of your iPhone or iPad. Now tap on General. Scroll to the bottom and tap on Reset. ...  Tap on Erase All Content and Settings. Tap on Erase Now. Enter your Passcode.