In the device, if your file is no more available in Recycle bin or Trash, then the then you can choose to take help from a third-party tool.
You can also use DMDE and also PhotoRec as an alternative source of recovering lost files.For a Mac user, Disk Drill, Prosoft Data Rescue, and the MiniTool Mac Data Recovery is a great option to look into.
These three options are great options, and all are from different sources.
If your default program is unable to locate the files, then you can try any of these tools in Mac to scan the files.Android If you use a memory card and your data is store in that additional space, then you can be safe from getting your data lost.
In the android device, getting the lost data is quite tough, and without rooting the device, it is impossible.
You can try these apps to get your data back, but the chances are still not completely positive.iOSiPhone devices most probably backed up most of the time, whether it is iCloud or iTunes.