 Just hitting delete or doing a factory reset won't cut it because there is advanced data recovery software out there that can still pry open all your secret info. To really erase your phone, you got to do a factory reset and follow it up with a more thorough data erase. This involves using specialized software such as iShredder or Secure Eraser. It overwrites the entire phone storage with random data multiple times.