If you’re looking to sell or trade-in your old iPhone or MacBook, you’ll want to wipe your personal data from the device.