How to Erase the Mobile iPhone Memory
- 1). Power on your iPhone.
- 2). Tap on "Settings" from your iPhone home screen.
- 3). Tap "General" to access the general settings menu.
- 4). Scroll to locate the "Reset" button.
- 5). Tap the "Reset" button.
- 6). Tap "Erase All Content and Settings."
- 7). Tap "Erase iPhone" when your iPhone prompts you to confirm. Allow your iPhone some time to erase all the data from the memory.
Source...