Follow these steps to protect your data and get your device to its factory default state for the new owner:Back up your device.Go to Settings > General > Reset, then tap Erase All Content and Settings.This will completely erase your device and turn off iCloud, iMessage, FaceTime, Game Center, and other services.If you are using iOS 7 and have Find My iPhone turned on, your Apple ID and password wil