Yes, it does. A factory reset or hard reset completely deletes your personal data and settings from your iPhone. Your photos, call logs, saved passwords, browsing history, calendar, notes, installed apps, etc. will be deleted.