Preparing an iPhone to be sold

With my wife and I both upgrading to the new iPhone 4, we decided to sell both of our old iPhone 3G’s to Gazelle.com. No hassle and nothing to worry about with scammers.

This made me to wonder, what is the safe way to securely wipe an iPhone? I do not want any of my personal data on the old phone to get in the wrong hands.

EverythingiCafe.com has a great article on how to do this. It essentially boils down to doing a restore of the iPhone and then using the “Erase All Content and Settings” setting on the newly restored iPhone to securely erase all of the data on it.