How to Reset iPhone To Factory Default
When you format the phone, you will lose your call history and messages unless you have taken a backup. You can use the native Backup feature available in Android and iPhone or download third-party backup apps. When it comes to contacts, they will be deleted too.