Frankly speaking, it is impossible can recover data directly from a
factory reset iPhone. But don't lose hope, If you have iTunes backed up,
you can still recover them from Bitwar iPhone Data Recovery.
If you have an iTunes backup for your iPhone data, you can restore data through the following three steps.
Step 1: Connect your iPhone to your Mac;
Step 2: Launch iTunes -> “File” menu -> “Devices” -> Tab “Restore from Backup”;
Step 3: Choose the most recent backup -> “Restore.”
Note: Remember to keep your iPhone and Mac connected to each other until the process is completed.