Delete apps from previous Apple ID and set iPhone to factory seeting I sold my iPhone to my friend and she used her Apple ID to sync some apps and music, but after a few days she gave it back to me. Now I have 2 questions:


How can I delete all her apps and Apple ID from my phone? (I mean I need to reset to original factory settings to use my own apps and Apple ID.)
I have a backup from my phone. How can I sync my own apps and use my own Apple ID?
To reset to factory settings, in your iPhone go to Settings → General → Reset → Erase All Content and Settings. It ask for confirmation twice.

To restore a previous backup, you have a couple of options:


Connect your iPhone to iTunes and you will see a Restore Backup... button on the iPhone Summary tab.
If you start your phone without iTunes, once you enter your Apple ID and password you will be prompted to restore a backup (if you have one stored on iCloud).